Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
"logform": "^2.6.0",
"mnemonist": "^0.39.6",
"mongodb": "^6.3.0",
- "poolifier": "^3.1.8",
+ "poolifier": "^3.1.9",
"tar": "^6.2.0",
"tslib": "^2.6.2",
"winston": "^3.11.0",
specifier: ^6.3.0
version: 6.3.0
poolifier:
- specifier: ^3.1.8
- version: 3.1.8
+ specifier: ^3.1.9
+ version: 3.1.9
tar:
specifier: ^6.2.0
version: 6.2.0
dependencies:
semver-compare: 1.0.0
- /poolifier@3.1.8:
- resolution: {integrity: sha512-wcB40at4TWB1srBDiC1mnhk6I8/K89baDursWNfp7YYkT3yF/h8QKXnqwjzrjZa6wqtPaTLyvmO/moOdI0NpGQ==}
+ /poolifier@3.1.9:
+ resolution: {integrity: sha512-J58FL2QlPZkVbKb1C/RkMlKJytQh88BOhQKV0DS6zmkrTW4WNux8320EnKOh0j2BCZJnD3y4waQcgZgEo8/Ckw==}
engines: {node: '>=18.0.0', pnpm: '>=8.6.0'}
requiresBuild: true
dev: false
import type { Worker } from 'node:worker_threads';
-import { type PoolEvent, PoolEvents, type PoolOptions } from 'poolifier';
+import { type PoolEvent, PoolEvents, type ThreadPoolOptions } from 'poolifier';
export enum WorkerProcessType {
workerSet = 'workerSet',
poolMaxSize: number;
poolMinSize: number;
elementsPerWorker?: number;
- poolOptions?: PoolOptions<Worker>;
+ poolOptions?: ThreadPoolOptions;
}
export type WorkerData = Record<string, unknown>;