From b6dbd509bb07898a0639612d63a4b7a6aacc5851 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 15 Aug 2023 20:27:26 +0200 Subject: [PATCH] fix: fix fastify-worker_threads example MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .../fastify-worker_threads/src/fastify-poolifier.ts | 1 + 1 file changed, 1 insertion(+) 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, { -- 2.34.1