I\'m using RQ, and I have a failed queue with thousands of items, and another test queue I created a while back for testing which is now empty and unus
failed
test
Here's how to clear the failed job registry using django_rq:
django_rq
import django_rq from rq.registry import FailedJobRegistry queue = django_rq.get_queue("your_queue_with_failed_jobs") registry = FailedJobRegistry(queue=queue) for job_id in registry.get_job_ids(): registry.remove(job_id)