mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Disable redis-rb’s reconnect attempts which can lead to duplicate command execution, fixes #3303
This commit is contained in:
parent
39843fc102
commit
2749c12b88
1 changed files with 2 additions and 1 deletions
|
@ -67,7 +67,8 @@ module Sidekiq
|
|||
opts.delete(:network_timeout)
|
||||
end
|
||||
|
||||
opts[:driver] = opts[:driver] || 'ruby'
|
||||
opts[:driver] ||= 'ruby'
|
||||
opts[:reconnect_attempts] ||= 0
|
||||
|
||||
opts
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue