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:
parent
90754d0878
commit
007782d417
1 changed files with 2 additions and 6 deletions
|
@ -119,16 +119,12 @@ module Sidekiq
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
|
|
||||||
def default
|
|
||||||
@default ||= new
|
|
||||||
end
|
|
||||||
|
|
||||||
def push(item)
|
def push(item)
|
||||||
default.push(item)
|
new.push(item)
|
||||||
end
|
end
|
||||||
|
|
||||||
def push_bulk(items)
|
def push_bulk(items)
|
||||||
default.push_bulk(items)
|
new.push_bulk(items)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Resque compatibility helpers. Note all helpers
|
# Resque compatibility helpers. Note all helpers
|
||||||
|
|
Loading…
Reference in a new issue