repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps): bump fastify
[poolifier.git]
/
examples
/
typescript
/
http-server-pool
/
express-hybrid
/
src
/
express-worker.ts
diff --git
a/examples/typescript/http-server-pool/express-hybrid/src/express-worker.ts
b/examples/typescript/http-server-pool/express-hybrid/src/express-worker.ts
index ac2e34d43bfc9ab2f97f51c4a874f2dee782495c..8cc041d4ee20c5f8e1fac45c96914019abcc2d9e 100644
(file)
--- a/
examples/typescript/http-server-pool/express-hybrid/src/express-worker.ts
+++ b/
examples/typescript/http-server-pool/express-hybrid/src/express-worker.ts
@@
-70,13
+70,12
@@
ClusterWorkerResponse
ExpressWorker.server = application.listen(port, () => {
console.info(
ExpressWorker.server = application.listen(port, () => {
console.info(
- // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
`⚡️[express server]: Express server is started in cluster worker at http://localhost:${port}/`
)
})
return {
status: true,
`⚡️[express server]: Express server is started in cluster worker at http://localhost:${port}/`
)
})
return {
status: true,
- port: (ExpressWorker.server.address() as AddressInfo)
?.port ??
port
+ port: (ExpressWorker.server.address() as AddressInfo)
.
port
}
}
}
}