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:
parent
8146ad819e
commit
fe0de99c4e
2 changed files with 5 additions and 1 deletions
4
changelogs/unreleased/rescue-from-redis-init-errors.yml
Normal file
4
changelogs/unreleased/rescue-from-redis-init-errors.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: Gracefully recover from Redis connection failures in Sidekiq initializer
|
||||
merge_request:
|
||||
author:
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue