Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我刚刚从数据库中删除并重新植入新数据时,我不确定为什么我有旧数据。旧数据与 Resque 工作相关联,我不确定为什么会发生这种情况。
它使用Redis?如果是,这就是你的答案。
您可以按照以下命令清除所有 Resque 队列:
Resque.queues.each { |q| Resque.redis.del "queue:#{q}" }