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
This option is not forcing the pause, meaning, if we try to pause queue that has a job currently being processed, it will wait for it to finish. This limits force/disaster situations where a job needs to be aborted from execution, without bringing the system to a halt (e.g. needing to cause a restart just to have enough time to remove the job) or needing to interact with redis directly.
I'll need to be acquainted with the code, but I believe I can manage. A question before doing so. This is not supported in bull, so it won't be available. How do you approach this kind of functionality? Do you only allow functionality to be added if it's available for both or diverging slightly is acceptable?
BullMQ supports pausing a queue, which bull-board uses
https://github.com/search?q=repo%3Afelixmosh%2Fbull-board%20%22.pause(%22&type=code
This option is not forcing the pause, meaning, if we try to pause queue that has a job currently being processed, it will wait for it to finish. This limits force/disaster situations where a job needs to be aborted from execution, without bringing the system to a halt (e.g. needing to cause a restart just to have enough time to remove the job) or needing to interact with redis directly.
BullMQ support this by calling the pause directly to the worker
await myWorker.pause(true);
https://docs.bullmq.io/guide/workers/pausing-queuesIt would be an amazing feature to be able to force pause the worker.
The text was updated successfully, but these errors were encountered: