mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Merge pull request #353 from ncr/patch-1
Catch more Exceptions to avoid scheduling poller thread death
This commit is contained in:
commit
2655c17bde
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ module Sidekiq
|
|||
end
|
||||
end
|
||||
end
|
||||
rescue SystemCallError => ex
|
||||
rescue SystemCallError, Redis::TimeoutError, Redis::ConnectionError => ex
|
||||
# ECONNREFUSED, etc. Most likely a problem with
|
||||
# redis networking. Punt and try again at the next interval
|
||||
logger.warn ex.message
|
||||
|
|
Loading…
Reference in a new issue