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
Qs = ['default', 'failed']
for q in Qs:
try:
rq = Queue(q, connection=redis_conn)
rq.empty()
rq.count is showing 0 both for failed and for default queues. However, when I go into the dashboard I see X failed jobs (number changes).
Restarts don't helps. I've also tried all approaches listed in this thread, and none of them worked. I think that's beacuse there actually are no failed jobs (they have been cleaned successfully), but rq-dashboard is somehow still registering them.
How is this possible? How do I clean them out?
The text was updated successfully, but these errors were encountered:
After running my cleaning script:
rq.count
is showing 0 both forfailed
and fordefault
queues. However, when I go into the dashboard I see X failed jobs (number changes).Restarts don't helps. I've also tried all approaches listed in this thread, and none of them worked. I think that's beacuse there actually are no failed jobs (they have been cleaned successfully), but rq-dashboard is somehow still registering them.
How is this possible? How do I clean them out?
The text was updated successfully, but these errors were encountered: