mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Rollback 3303, fixes #3311
This commit is contained in:
parent
efadb9ac69
commit
f68f235705
2 changed files with 9 additions and 2 deletions
|
@ -1,8 +1,9 @@
|
|||
# Sidekiq Changes
|
||||
|
||||
HEAD
|
||||
4.2.9
|
||||
-----------
|
||||
|
||||
- Rollback [#3303] which broke Heroku Redis users [#3311]
|
||||
- Add support for TSTP signal, for Sidekiq 5.0 forward compatibility. [#3302]
|
||||
|
||||
4.2.8
|
||||
|
|
|
@ -68,7 +68,13 @@ module Sidekiq
|
|||
end
|
||||
|
||||
opts[:driver] ||= 'ruby'
|
||||
opts[:reconnect_attempts] ||= 0
|
||||
|
||||
# Issue #3303, redis-rb will silently retry an operation.
|
||||
# This can lead to duplicate jobs if Sidekiq::Client's LPUSH
|
||||
# is performed twice but I believe this is much, much rarer
|
||||
# than the reconnect silently fixing a problem; we keep it
|
||||
# on by default.
|
||||
opts[:reconnect_attempts] ||= 1
|
||||
|
||||
opts
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue