Skip to content

Commit

Permalink
backwards compat, sidekiq#2505
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Aug 24, 2015
1 parent 59f8aeb commit f8ee089
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/sidekiq/client.rb
Expand Up @@ -119,6 +119,11 @@ def self.via(pool)

class << self

# deprecated
def default
@default ||= new
end

def push(item)
new.push(item)
end
Expand Down

0 comments on commit f8ee089

Please sign in to comment.