Unanswered
Hi All, I Have An Ongoing Issue With Queues.
Hi,
I've managed to fix it.
Basically, I had a tracker running on our queues to ensure that none of them were lagging. This was using get_next_task
from APIClient().queues
.
If you call get_next_task
it removes the task from the queue but does not put it into another state. I think because typically get_next_task
is immediately followed by something to make the task run in the daemon or delete it.
Hence you end up in this weird state were the task thinks its queued because nothing modified the status but the queue doesn't think it has a task. A bit of an edge case but potentially worth looking at.
163 Views
0
Answers
one year ago
one year ago