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
When a job is in an active state, i.e., it is being processed by a worker, it needs to continuously update the queue to notify that the worker is still working on the job.
How do we update the queue that the worker is still working on a job?
For context, we have a worker that is doing batched writes to a DB. This could be a long running job depending on how many writes need to be performed. Ideally, in between each batch, we can notify the queue that the worker is still processing.
The text was updated successfully, but these errors were encountered:
The notification is handled automatically by the worker as long as it is not a CPU intensive operation that keeps the CPU busy during at least 30 seconds.
Hello! I see in this page in the docs that
How do we update the queue that the worker is still working on a job?
For context, we have a worker that is doing batched writes to a DB. This could be a long running job depending on how many writes need to be performed. Ideally, in between each batch, we can notify the queue that the worker is still processing.
The text was updated successfully, but these errors were encountered: