2.1.9
Added keepAlive
field to the Cluster config.
keepAlive: String | Int
:
- 'always' : never shuts down workers even when no jobs are available.
- 'default' : shuts down workers when no jobs are available.
- Int : value in ms : shuts down workers if no jobs are available after the delay.
Rightly set, this enables to avoid shutdown / startup delays and resources consumptions.