workerpool
Advanced tools
Changelog
2019-12-31, version 5.0.4
isMainThread
not working when using worker_threads
.Changelog
2019-11-06, version 5.0.2
Changelog
2019-10-13, version 5.0.1
Changelog
2019-08-25, version 5.0.0
nodeWorker
and created a new, more extensive option
workerType
giving full control over the selected type of worker.
Added new option 'web'
to enforce use a Web Worker. See #85, #74.workerType
is changed from
'process'
to 'thread'
. See #85, #50.browser
or node
), fixing wrong
detection in a Jest test environment. See #85.Changelog
2019-08-21, version 4.0.0
--max-old-space-size
to child processes. Thanks @patte.child_process
and worker_threads
.
See #43.maxQueueSize
. Thanks @colomboe.minWorkers: 'max'
not using the configured maxWorkers
.nodeWorker
to workers initialized when creating a pool.
Thanks @spacelan.lib
to src
.Changelog
2019-03-12, version 3.1.2
Improved error message when a node.js worker unexpectedly exits (see #58). Thanks @stefanpenner.
Allocate debug ports safely, this fixes an issue cause workers to exit
unexpectedly if more then one worker pool is active, and the process is
started with a debugger (node debug
or node --inspect
).
Thanks @stefanpenner.
Changelog
2019-02-25, version 3.1.1
nodeWorker: 'auto'
not using worker threads when available.
Thanks @stefanpenner.Changelog
2019-02-17, version 3.1.0
worker_threads
in Node.js, via the new option
nodeWorker: 'thread'
. Thanks @stefanpenner.