refactor: examples import cleanup
[poolifier.git] / examples / typescript / websocket-server-pool / ws-hybrid / src / main.ts
index 0c31721a417c575c65342c41cfad5ef837e8103c..177d7d3b5813f04ff10dd8812f8eafeec1099407 100644 (file)
@@ -17,6 +17,7 @@ const pool = new FixedClusterPool<ClusterWorkerData, ClusterWorkerResponse>(
   Math.round(availableParallelism() / 2),
   webSocketServerWorkerFile,
   {
+    enableEvents: false,
     onlineHandler: () => {
       pool
         .execute({