BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
4daa6da5
Commit
4daa6da5
authored
Jul 10, 2017
by
Stan Hu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'catch-redis-address-error' into 'master'
Catch redis address error Closes omnibus-gitlab#2545 See merge request !12542
parents
26b6e299
e643c0db
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
sidekiq.rb
config/initializers/sidekiq.rb
+1
-1
current_settings.rb
lib/gitlab/current_settings.rb
+1
-1
No files found.
config/initializers/sidekiq.rb
View file @
4daa6da5
...
...
@@ -74,5 +74,5 @@ begin
end
end
end
rescue
Redis
::
BaseError
,
SocketError
,
Errno
::
ENOENT
,
Errno
::
EAFNOSUPPORT
,
Errno
::
ECONNRESET
,
Errno
::
ECONNREFUSED
rescue
Redis
::
BaseError
,
SocketError
,
Errno
::
ENOENT
,
Errno
::
EA
DDRNOTAVAIL
,
Errno
::
EA
FNOSUPPORT
,
Errno
::
ECONNRESET
,
Errno
::
ECONNREFUSED
end
lib/gitlab/current_settings.rb
View file @
4daa6da5
...
...
@@ -25,7 +25,7 @@ module Gitlab
def
cached_application_settings
begin
::
ApplicationSetting
.
cached
rescue
::
Redis
::
BaseError
,
::
Errno
::
ENOENT
rescue
::
Redis
::
BaseError
,
::
Errno
::
ENOENT
,
::
Errno
::
EADDRNOTAVAIL
# In case Redis isn't running or the Redis UNIX socket file is not available
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment