V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  RynItme  ›  全部回复第 2 页 / 共 2 页
回复总数  21
1  2  
2019 年 5 月 21 日
回复了 RynItme 创建的主题 Python celery 清空任务队列的疑问
from proj.celery import app
app.control.purge()

官网是有这种方式 然而 我操作之后返回条数为 0
reids 中 unacked_index 这个索引厉害依然存在数据


```
127.0.0.1:6379> ZRANGE unacked_index 0 10 WITHSCORES
1) "dc96716a-c8f7-4797-9029-64eb0a7ffd22"
2) "1558418885.3853481"
3) "01d96271-a3b8-418d-aa88-0117db7ebd69"
4) "1558421585.326695"

```
1  2  
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   923 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 8ms · UTC 19:54 · PVG 03:54 · LAX 12:54 · JFK 15:54
♥ Do have faith in what you're doing.