rails - sidekiq 有点可怕啊
访问量: 398
1. 无法根据redis来准确删除某个任务,隐藏的特别深,只能使用flushall
2. 网上的策略都不好使,例如:
https://stackoverflow.com/questions/25889699/sidekiq-stop-one-single-running-jobhttps://stackoverflow.com/questions/48348723/sidekiq-list-all-jobs-queued-running
https://stackoverflow.com/questions/12268008/how-to-find-and-kill-a-running-resque-job-on-rails
安装crontab: apt install cron
不过sidekiq cron还是由ruby代码控制的,不是crontab -e
3. 这里是具体的细节: https://stackoverflow.com/questions/68866897/where-or-how-does-sidekiq-redis-store-an-object-when-a-job-is-retrying