The project is in a healthy, maintained state
Extracted from Sidekiq 6.0, compatible with Sidekiq 7.0
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 7.0
 Project Readme

Sidekiq Delay Extensions

Gem Version Build

The Sidekiq delay extensions were deprecated in 6.x and were removed from 7.x.

This gem extracts the delay extensions from the latest 6.x release, 6.5.12. Version 7.x of this gem will maintain compatibility with Sidekiq 7.x.

This gem is maintained independent of Sidekiq. Maintainers wanted.

Requirements

Installation

bundle add sidekiq
bundle add sidekiq-delay_extensions

In your initializers, include the line:

Sidekiq::DelayExtensions.enable_delay!

Upgrading (IMPORTANT): Also add

# To handle any existing delayed jobs at time of upgrade.
module Sidekiq::Extensions
end
Sidekiq::Extensions::DelayedClass = Sidekiq::DelayExtensions::DelayedClass
Sidekiq::Extensions::DelayedModel = Sidekiq::DelayExtensions::DelayedModel
Sidekiq::Extensions::DelayedMailer = Sidekiq::DelayExtensions::DelayedMailer

Testing

In your test environment, include the line:

require "sidekiq/delay_extensions/testing"

Contributing

Please see the contributing guidelines.

License

Please see LICENSE for licensing details.

Original Author

Mike Perham, @getajobmike / @sidekiq, https://www.mikeperham.com / https://www.contribsys.com