-
Notifications
You must be signed in to change notification settings - Fork 121
Open
Description
workerFarm.end(farm) documentation says:
If you send your farm API to workerFarm.end() then it'll cleanly end your worker processes. Note though that it's a soft ending so it'll wait for child processes to finish what they are working on before asking them to die.
What if I need to hard-end an ongoing jobs, before queuing new ones?
Use case: the long-running (forever) ongoing jobs has gone bad because of top-level (parent process) config changes, so the parent needs to spin new long-running ongoing jobs, but only after killing the original, bad jobs first.
giancarlosisasi
Metadata
Metadata
Assignees
Labels
No labels