build: make eslint configuration use strict type checking
[poolifier.git] / examples / typescript / websocket-server-pool / ws-cluster / src / main.ts
index 5b4e7b5eab6e9c2d3bda8d46610e02bde2eee3f2..762b1c0fffc68b24cfc4f7a4b8296649d1f151ec 100644 (file)
@@ -12,13 +12,13 @@ const pool = new FixedClusterPool<WorkerData, WorkerResponse>(
   availableParallelism(),
   workerFile,
   {
+    enableEvents: false,
     onlineHandler: () => {
       pool
         .execute({ port: 8080 })
         .then(response => {
           if (response.status) {
             console.info(
-              // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
               `WebSocket server is listening in cluster worker on port ${response.port}`
             )
           }