Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RQ dashboard showing failed jobs, while rq.count is 0 #373

Open
ilmoi opened this issue Jan 16, 2021 · 0 comments
Open

RQ dashboard showing failed jobs, while rq.count is 0 #373

ilmoi opened this issue Jan 16, 2021 · 0 comments

Comments

@ilmoi
Copy link

ilmoi commented Jan 16, 2021

After running my cleaning script:

    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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant