repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: reenable eslint type checking
[poolifier.git]
/
examples
/
typescript
/
http-server-pool
/
fastify-cluster
/
src
/
main.ts
diff --git
a/examples/typescript/http-server-pool/fastify-cluster/src/main.ts
b/examples/typescript/http-server-pool/fastify-cluster/src/main.ts
index 794a93b6bfed3b3288c57238390a8eb60e422ff8..a548b13ddeed7d04630b4876cb9f5b366d0d4f4b 100644
(file)
--- a/
examples/typescript/http-server-pool/fastify-cluster/src/main.ts
+++ b/
examples/typescript/http-server-pool/fastify-cluster/src/main.ts
@@
-21,7
+21,8
@@
const pool = new FixedClusterPool<WorkerData, WorkerResponse>(
.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