X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fhttp-server-pool%2Fexpress-hybrid%2Fsrc%2Fmain.ts;h=561aab5d2832217f50ec4304a858cc94bb72c40a;hb=fcdc962c5bb68f641bbfd74281c8c3eafabc6bad;hp=08563f4b2e753cefa3a331e9d0193be2a809f526;hpb=a7263cc7976423d318bd3a82d1a60b2f39b6e2c5;p=poolifier.git diff --git a/examples/typescript/http-server-pool/express-hybrid/src/main.ts b/examples/typescript/http-server-pool/express-hybrid/src/main.ts index 08563f4b..561aab5d 100644 --- a/examples/typescript/http-server-pool/express-hybrid/src/main.ts +++ b/examples/typescript/http-server-pool/express-hybrid/src/main.ts @@ -41,7 +41,7 @@ const pool = new FixedClusterPool( `Express is listening in cluster worker on port ${response?.port}` ) } - return null + return undefined }) .catch(error => { console.error('Express failed to start in cluster worker:', error)