repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge dependabot/npm_and_yarn/examples/typescript/http-server-pool/express-worker_thr...
[poolifier.git]
/
examples
/
typescript
/
websocket-server-pool
/
ws-cluster
/
requests.js
diff --git
a/examples/typescript/websocket-server-pool/ws-cluster/requests.js
b/examples/typescript/websocket-server-pool/ws-cluster/requests.js
index 3f796e3649a0d3ccb719c92cdfcad6f7eab9c189..9beb2b7828b077eb5fc00c5ce810b3dd7b148d82 100644
(file)
--- a/
examples/typescript/websocket-server-pool/ws-cluster/requests.js
+++ b/
examples/typescript/websocket-server-pool/ws-cluster/requests.js
@@
-12,10
+12,10
@@
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 } }))
}
})
}
})
-ws.on('message',
(message)
=> {
+ws.on('message',
message
=> {
console.info('message received: %s', message)
})
console.info('message received: %s', message)
})