diff options
author | Nick Thomas <nick@gitlab.com> | 2017-09-21 16:55:08 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2017-09-22 12:05:28 +0300 |
commit | ba0ebbb510c4f19738b5e2ac2dee06193aafff3a (patch) | |
tree | 484e0108a315f296c5449928bf9399774debe753 /lib/gitlab/git/storage.rb | |
parent | 26607a1690631916baf5a39d198ff7096cb5bde6 (diff) |
Allow the git circuit breaker to correctly handle missing repository storages
Diffstat (limited to 'lib/gitlab/git/storage.rb')
-rw-r--r-- | lib/gitlab/git/storage.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/git/storage.rb b/lib/gitlab/git/storage.rb index e28be4b8a38..08e6c29abad 100644 --- a/lib/gitlab/git/storage.rb +++ b/lib/gitlab/git/storage.rb @@ -11,6 +11,7 @@ module Gitlab end CircuitOpen = Class.new(Inaccessible) + Misconfiguration = Class.new(Inaccessible) REDIS_KEY_PREFIX = 'storage_accessible:'.freeze |