build(deps-dev): bump @types/node
[poolifier.git] / examples / typescript / http-client-pool / src / pool.ts
index 3d64150a8af14c161c4a005a044ad2b003bacad0..673b71b894f19335f00aabb474f804cac7ffb99f 100644 (file)
@@ -1,7 +1,7 @@
 import { fileURLToPath } from 'node:url'
 import { dirname, extname, join } from 'node:path'
 import { DynamicThreadPool, availableParallelism } from 'poolifier'
-import { type WorkerData, type WorkerResponse } from './types.js'
+import type { WorkerData, WorkerResponse } from './types.js'
 
 const workerFile = join(
   dirname(fileURLToPath(import.meta.url)),
@@ -9,7 +9,7 @@ const workerFile = join(
 )
 
 export const httpClientPool = new DynamicThreadPool<WorkerData, WorkerResponse>(
-  1,
+  0,
   availableParallelism(),
   workerFile,
   {