The Sidekiq delay extensions are deprecated in 6.x and will be removed from 7.x.
This gem extracts the delay extensions from the latest 6.x release and will match Sidekiq 6.x version numbers.
When Sidekiq reaches 7.0, this gem will begin being maintained on its own. Maintainers wanted.
- See https://github.com/mperham/sidekiq/tree/v6.4.0
- Redis: 4.0+
- Ruby: MRI 2.5+ or JRuby 9.2+.
- Sidekiq 6.0 supports Rails 5.0+ but does not require it.
gem install sidekiq
gem install sidekiq-delay_extensions
In your initializers, include the line:
Sidekiq::DelayExtensions.enable_delay!
Upgrading (IMPORTANT): Also add
Sidekiq::Extensions::DelayedClass = Sidekiq::DelayExtensions::DelayedClass
Sidekiq::Extensions::DelayedModel = Sidekiq::DelayExtensions::DelayedModel
Sidekiq::Extensions::DelayedMailer = Sidekiq::DelayExtensions::DelayedMailer
In your test environment, include the line:
require "sidekiq/delay_extensions/testing"
Please see the contributing guidelines.
Please see LICENSE for licensing details.
Mike Perham, @getajobmike / @sidekiq, https://www.mikeperham.com / https://www.contribsys.com