Run Delayed Jobs and Sidekiq at the same time

后端 未结 3 1381
说谎
说谎 2020-12-31 06:24

I currently use delayed job to process jobs asynchronously. Instead of creating workers, I use the .delay method a lot.

I want to move to Sidekiq, but I

3条回答
  •  时光说笑
    2020-12-31 06:48

    For anyone searching for this. I did find Sidekiq now has a setting for this out of the box. All you need to do is add Sidekiq.remove_delay! to config/initializers/sidekiq.rb

    This is described here: https://github.com/mperham/sidekiq/wiki/Delayed-Extensions

提交回复
热议问题