chore: migrate to eslint 9
[poolifier.git] / examples / typescript / websocket-server-pool / ws-cluster / requests.js
index 1f302a6cc76a01bfa6ede514140e9b401af50bc3..2c73376f6ee4089920e10a12c52560062ef3c2c1 100644 (file)
@@ -1,4 +1,3 @@
-// eslint-disable-next-line import/no-unresolved, n/no-missing-import
 import { WebSocket } from 'ws'
 
 const ws = new WebSocket('ws://localhost:8080')
@@ -12,7 +11,7 @@ ws.on('open', () => {
     )
   }
   for (let i = 0; i < 60; i++) {
-    ws.send(JSON.stringify({ type: 'factorial', data: { number: 30 } }))
+    ws.send(JSON.stringify({ type: 'factorial', data: { number: 50000 } }))
   }
 })