RQ - Empty & Delete Queues

前端 未结 7 1370
傲寒
傲寒 2021-02-02 13:44

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

相关标签:
7条回答
  • 2021-02-02 14:23

    By default 'rq' jobs are prefixed by 'rq:job'. So you can delete these jobs from the redis using following command,

    redis-cli KEYS rq:job:* | xargs redis-cli DEL
    
    0 讨论(0)
提交回复
热议问题