fix: fix fastify-worker_threads example
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 15 Aug 2023 18:27:26 +0000 (20:27 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Tue, 15 Aug 2023 18:27:26 +0000 (20:27 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
examples/typescript/http-server-pool/fastify-worker_threads/src/fastify-poolifier.ts

index 50668da031705190e5f7611870c51fb2f5fffc7f..15e5656b12abe44477a65dc7efd4a994b51663d7 100644 (file)
@@ -39,6 +39,7 @@ const fastifyPoolifierPlugin: FastifyPluginCallback<FastifyPoolifierOptions> = (
       ): Promise<WorkerResponse> => await pool.execute(data, name, transferList)
     )
   }
+  done()
 }
 
 export const fastifyPoolifier = fp(fastifyPoolifierPlugin, {