1
0
Fork 0
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:
Mike Perham 2012-08-16 08:30:33 -07:00
commit 2655c17bde

View file

@ -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