repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: fix pool.addTaskFunction() type definition
[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..9beb2b7828b077eb5fc00c5ce810b3dd7b148d82 100644
(file)
--- a/
examples/typescript/websocket-server-pool/ws-hybrid/requests.js
+++ b/
examples/typescript/websocket-server-pool/ws-hybrid/requests.js
@@
-12,7
+12,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 } }))
}
})
}
})