X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=examples%2Ftypescript%2Fhttp-server-pool%2Ffastify-cluster%2Fsrc%2Fmain.ts;fp=examples%2Ftypescript%2Fhttp-server-pool%2Ffastify-cluster%2Fsrc%2Fmain.ts;h=a548b13ddeed7d04630b4876cb9f5b366d0d4f4b;hb=6e5d7052fe741b50e68f8614b33d3754be41415f;hp=794a93b6bfed3b3288c57238390a8eb60e422ff8;hpb=260bb73734384fc982006e15359ca1c43463cc55;p=poolifier.git 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 794a93b6..a548b13d 100644 --- 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( .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