You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
workerFarm.end(farm)
documentation says: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.
The text was updated successfully, but these errors were encountered: