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
Let's say we have 100 tasks and we want to let users to decide which jobs they want to start right now, which to remove and which will be called on timer (1hour i.e.).
I can call queue.rangeByType(...) on interval and get inactive/delayed jobs which I can run manually with setting their status, as I suppose (correct me if I'm wrong). That's fine.
But how can I stop tasks from being processed automatically with queue.process()?
I can delay job to 3017 year, ofc and then change status for inactive manually, but if there's a better way? :)
p.s. Queue.process is distributed across several workers CPUs, so processing them after we got job by it's id is not an option since CPUs concurrency.
The text was updated successfully, but these errors were encountered:
Let's say we have 100 tasks and we want to let users to decide which jobs they want to start right now, which to remove and which will be called on timer (1hour i.e.).
I can call queue.rangeByType(...) on interval and get inactive/delayed jobs which I can run manually with setting their status, as I suppose (correct me if I'm wrong). That's fine.
But how can I stop tasks from being processed automatically with queue.process()?
I can delay job to 3017 year, ofc and then change status for inactive manually, but if there's a better way? :)
p.s. Queue.process is distributed across several workers CPUs, so processing them after we got job by it's id is not an option since CPUs concurrency.
The text was updated successfully, but these errors were encountered: