X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fwebsocket-server-pool%2Fws-cluster%2Fsrc%2Fmain.ts;h=ad58bd20ccb8806f2954da84f46b82886f9dd71c;hb=f2dbc4b96f031069f3752b8362837f6fe2eb1d89;hp=9a77c0551f247c87c1176819017ef9f507edd627;hpb=3b3115396965edad0cf3fefc4f9081977310da34;p=poolifier.git diff --git a/examples/typescript/websocket-server-pool/ws-cluster/src/main.ts b/examples/typescript/websocket-server-pool/ws-cluster/src/main.ts index 9a77c055..ad58bd20 100644 --- a/examples/typescript/websocket-server-pool/ws-cluster/src/main.ts +++ b/examples/typescript/websocket-server-pool/ws-cluster/src/main.ts @@ -19,13 +19,16 @@ const pool = new FixedClusterPool( if (response.status) { console.info( // eslint-disable-next-line @typescript-eslint/restrict-template-expressions - `WebSocket server is listening on worker on port ${response.port}` + `WebSocket server is listening in cluster worker on port ${response.port}` ) } return null }) .catch(error => { - console.error('WebSocket server failed to start on worker:', error) + console.error( + 'WebSocket server failed to start in cluster worker:', + error + ) }) }, errorHandler: (e: Error) => {