mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
backwards compat, #2505
This commit is contained in:
parent
59f8aeb5cb
commit
f8ee089607
1 changed files with 5 additions and 0 deletions
|
@ -119,6 +119,11 @@ module Sidekiq
|
|||
|
||||
class << self
|
||||
|
||||
# deprecated
|
||||
def default
|
||||
@default ||= new
|
||||
end
|
||||
|
||||
def push(item)
|
||||
new.push(item)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue