X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fwebsocket-server-pool%2Fws-worker_threads%2Frequests.js;h=2c73376f6ee4089920e10a12c52560062ef3c2c1;hb=8b7aa4204c27efd1dc699f7baea65b5262bd26b3;hp=1f302a6cc76a01bfa6ede514140e9b401af50bc3;hpb=041dc05b2a95b36db72525072ba54c4c58ffcf0e;p=poolifier.git diff --git a/examples/typescript/websocket-server-pool/ws-worker_threads/requests.js b/examples/typescript/websocket-server-pool/ws-worker_threads/requests.js index 1f302a6c..2c73376f 100644 --- a/examples/typescript/websocket-server-pool/ws-worker_threads/requests.js +++ b/examples/typescript/websocket-server-pool/ws-worker_threads/requests.js @@ -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 } })) } })