From: Jérôme Benoit Date: Tue, 15 Aug 2023 18:27:26 +0000 (+0200) Subject: fix: fix fastify-worker_threads example X-Git-Tag: v2.6.27~2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=b6dbd509bb07898a0639612d63a4b7a6aacc5851;p=poolifier.git fix: fix fastify-worker_threads example Signed-off-by: Jérôme Benoit --- 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 50668da0..15e5656b 100644 --- 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,6 +39,7 @@ const fastifyPoolifierPlugin: FastifyPluginCallback = ( ): Promise => await pool.execute(data, name, transferList) ) } + done() } export const fastifyPoolifier = fp(fastifyPoolifierPlugin, {