poolifier
Advanced tools
Changelog
[2.3.2] - 2022-10-14
Changelog
[2.3.1] - 2022-10-13
WorkerChoiceStrategies.WEIGHTED_ROUND_ROBIN
strategy based on weighted round robin scheduling algorithm using tasks execution time for now.WorkerChoiceStrategies.FAIR_SHARE
strategy based on fair share scheduling algorithm using tasks execution time for now.Changelog
[2.2.0] - 2022-01-05
Changelog
[2.1.0] - 2021-08-29
messageHandler
to PoolOptions<Worker>
for registering a message handler callback on each worker.AbstractWorker
class maxInactiveTime
, killBehavior
and async
attributes have been removed in favour of the same ones in the worker options opts
public attribute.AbstractWorker
class lastTask
attribute have been renamed to lastTaskTimestamp
.AbstractWorker
class interval
attribute have been renamed to aliveInterval
.AbstractWorker
class cannot be instantiated without specifying the mainWorker
argument referencing the main worker.