repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps): bump fastify
[poolifier.git]
/
examples
/
typescript
/
http-server-pool
/
fastify-hybrid
/
src
/
main.ts
diff --git
a/examples/typescript/http-server-pool/fastify-hybrid/src/main.ts
b/examples/typescript/http-server-pool/fastify-hybrid/src/main.ts
index b700bdbb8bbcff9ff441960e5940c2d42c4c635a..d9a0015c637d528703902440ec0e986d5cc86450 100644
(file)
--- a/
examples/typescript/http-server-pool/fastify-hybrid/src/main.ts
+++ b/
examples/typescript/http-server-pool/fastify-hybrid/src/main.ts
@@
-17,6
+17,7
@@
const pool = new FixedClusterPool<ClusterWorkerData, ClusterWorkerResponse>(
Math.round(availableParallelism() / 2),
fastifyWorkerFile,
{
Math.round(availableParallelism() / 2),
fastifyWorkerFile,
{
+ enableEvents: false,
onlineHandler: () => {
pool
.execute({
onlineHandler: () => {
pool
.execute({