1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Remove Sidekiq::Client.default since memoization can break sharding with batches.

This commit is contained in:
Jonathan Hyman 2015-08-21 14:09:27 -04:00
parent 90754d0878
commit 007782d417

View file

@ -119,16 +119,12 @@ module Sidekiq
class << self
def default
@default ||= new
end
def push(item)
default.push(item)
new.push(item)
end
def push_bulk(items)
default.push_bulk(items)
new.push_bulk(items)
end
# Resque compatibility helpers. Note all helpers