Gracefully recover from Redis connection failures in Sidekiq initializer

* Closes gitlab-org/gitlab-ce#25143
* Closes gitlab-org/omnibus-gitlab#1743
This commit is contained in:
Stan Hu 2016-11-28 23:38:14 -08:00
parent 8146ad819e
commit fe0de99c4e
2 changed files with 5 additions and 1 deletions

View file

@ -0,0 +1,4 @@
---
title: Gracefully recover from Redis connection failures in Sidekiq initializer
merge_request:
author:

View file

@ -61,5 +61,5 @@ begin
end
end
end
rescue Redis::BaseError, SocketError
rescue Redis::BaseError, SocketError, Errno::ENOENT, Errno::EAFNOSUPPORT, Errno::ECONNRESET, Errno::ECONNREFUSED
end