RQ - Empty & Delete Queues

前端 未结 7 1367
傲寒
傲寒 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
    

提交回复
热议问题