repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: fix kill handler usage in examples
[poolifier.git]
/
examples
/
typescript
/
http-server-pool
/
fastify-worker_threads
/
src
/
fastify-poolifier.ts
diff --git
a/examples/typescript/http-server-pool/fastify-worker_threads/src/fastify-poolifier.ts
b/examples/typescript/http-server-pool/fastify-worker_threads/src/fastify-poolifier.ts
index 15e5656b12abe44477a65dc7efd4a994b51663d7..50668da031705190e5f7611870c51fb2f5fffc7f 100644
(file)
--- a/
examples/typescript/http-server-pool/fastify-worker_threads/src/fastify-poolifier.ts
+++ b/
examples/typescript/http-server-pool/fastify-worker_threads/src/fastify-poolifier.ts
@@
-39,7
+39,6
@@
const fastifyPoolifierPlugin: FastifyPluginCallback<FastifyPoolifierOptions> = (
): Promise<WorkerResponse> => await pool.execute(data, name, transferList)
)
}
): Promise<WorkerResponse> => await pool.execute(data, name, transferList)
)
}
- done()
}
export const fastifyPoolifier = fp(fastifyPoolifierPlugin, {
}
export const fastifyPoolifier = fp(fastifyPoolifierPlugin, {