poolifier
Advanced tools
Comparing version 3.1.28 to 3.1.29
{ | ||
"$schema": "https://json.schemastore.org/package", | ||
"name": "poolifier", | ||
"version": "3.1.28", | ||
"version": "3.1.29", | ||
"description": "Fast and small Node.js Worker_Threads and Cluster Worker Pool", | ||
@@ -24,3 +24,3 @@ "license": "MIT", | ||
"node": "20.12.0", | ||
"pnpm": "8.15.5" | ||
"pnpm": "8.15.6" | ||
}, | ||
@@ -88,4 +88,4 @@ "repository": { | ||
"@types/node": "^20.12.2", | ||
"@typescript-eslint/eslint-plugin": "^7.4.0", | ||
"@typescript-eslint/parser": "^7.4.0", | ||
"@typescript-eslint/eslint-plugin": "^7.5.0", | ||
"@typescript-eslint/parser": "^7.5.0", | ||
"benchmark": "^2.1.4", | ||
@@ -92,0 +92,0 @@ "c8": "^9.1.0", |
@@ -123,4 +123,4 @@ <div align="center"> | ||
const pool = new FixedThreadPool(availableParallelism(), './yourWorker.js', { | ||
errorHandler: e => console.error(e), | ||
onlineHandler: () => console.info('worker is online') | ||
onlineHandler: () => console.info('worker is online'), | ||
errorHandler: e => console.error(e) | ||
}) | ||
@@ -133,4 +133,4 @@ | ||
const pool = new DynamicThreadPool(Math.floor(availableParallelism() / 2), availableParallelism(), './yourWorker.js', { | ||
errorHandler: e => console.error(e), | ||
onlineHandler: () => console.info('worker is online') | ||
onlineHandler: () => console.info('worker is online'), | ||
errorHandler: e => console.error(e) | ||
}) | ||
@@ -137,0 +137,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
338560
2516
1