repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps-dev): bump typescript
[poolifier.git]
/
examples
/
typescript
/
websocket-server-pool
/
ws-hybrid
/
requests.js
diff --git
a/examples/typescript/websocket-server-pool/ws-hybrid/requests.js
b/examples/typescript/websocket-server-pool/ws-hybrid/requests.js
index 1f302a6cc76a01bfa6ede514140e9b401af50bc3..2c73376f6ee4089920e10a12c52560062ef3c2c1 100644
(file)
--- a/
examples/typescript/websocket-server-pool/ws-hybrid/requests.js
+++ b/
examples/typescript/websocket-server-pool/ws-hybrid/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')
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++) {
)
}
for (let i = 0; i < 60; i++) {
- ws.send(JSON.stringify({ type: 'factorial', data: { number:
3
0 } }))
+ ws.send(JSON.stringify({ type: 'factorial', data: { number:
5000
0 } }))
}
})
}
})