repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps-dev): apply updates
[poolifier.git]
/
examples
/
typescript
/
http-server-pool
/
fastify-hybrid
/
src
/
main.ts
diff --git
a/examples/typescript/http-server-pool/fastify-hybrid/src/main.ts
b/examples/typescript/http-server-pool/fastify-hybrid/src/main.ts
index 4622324c02c97f1e141abccb7c7b464ed113508d..74ed1f70158ce7876e717ab844cd16e8e7a3b58f 100644
(file)
--- a/
examples/typescript/http-server-pool/fastify-hybrid/src/main.ts
+++ b/
examples/typescript/http-server-pool/fastify-hybrid/src/main.ts
@@
-40,7
+40,8
@@
const pool = new FixedClusterPool<ClusterWorkerData, ClusterWorkerResponse>(
.then(response => {
if (response.status) {
console.info(
.then(response => {
if (response.status) {
console.info(
- `Fastify is listening in cluster worker on port ${response.port}`
+ // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
+ `Fastify is listening in cluster worker on port ${response.port?.toString()}`
)
}
return undefined
)
}
return undefined