清除celery 任务队列

celery 有密码的时候 清除任务

redis-cli -h host -p port -a password -n 11 ltrim transcode 0 196

没有密码的时候

redis-cli -n 11 ltrim transcode 0 196

-n 后面跟的是你要清除的第几个数据库

猜你喜欢

转载自www.cnblogs.com/shmily3929/p/9004781.html