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
|
class << self
|
||||||
|
|
||||||
|
# deprecated
|
||||||
|
def default
|
||||||
|
@default ||= new
|
||||||
|
end
|
||||||
|
|
||||||
def push(item)
|
def push(item)
|
||||||
new.push(item)
|
new.push(item)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue