简体   繁体   中英

How to update Resque to clear data

I am uncertain why I have old data when I have just dropped by database & reseeded with new data. The old data is tied to a Resque job and I'm not sure why this is happening.

It is using Redis? If yes, that is your answer.

You can clean all Resque queues following this command:

Resque.queues.each { |q| Resque.redis.del "queue:#{q}" }

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM