refactor: move worker_threads pool init in main method in fastify-hybrid
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 13 Aug 2023 16:10:13 +0000 (18:10 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 13 Aug 2023 16:10:13 +0000 (18:10 +0200)
commit503bda5baced9515d2fc20b85d4deb3da2dab93a
tree283c08e25267b7c7ef5dbddb066cc0f08420707e
parent1944a6eb49c3b03a2ddc1b8bfb91c8e35e085280
refactor: move worker_threads pool init in main method in fastify-hybrid
example

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
examples/typescript/http-server-pool/fastify-hybrid/src/fastify-worker.ts
examples/typescript/http-server-pool/fastify-hybrid/src/main.ts
examples/typescript/http-server-pool/fastify-hybrid/src/types.ts
examples/typescript/http-server-pool/fastify-worker_threads/src/types.ts