Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
fa88474a
Commit
fa88474a
authored
Nov 08, 2016
by
Yorick Peterse
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'sidekiq_default_retries' into 'master'
Set default Sidekiq retries to 3 See merge request !7294
parents
0e1444f9
d498ec98
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
changelogs/unreleased/sidekiq_default_retries.yml
changelogs/unreleased/sidekiq_default_retries.yml
+4
-0
config/initializers/sidekiq.rb
config/initializers/sidekiq.rb
+3
-0
No files found.
changelogs/unreleased/sidekiq_default_retries.yml
0 → 100644
View file @
fa88474a
---
title
:
Set default Sidekiq retries to
3
merge_request
:
7294
author
:
config/initializers/sidekiq.rb
View file @
fa88474a
...
...
@@ -2,6 +2,9 @@
redis_config_hash
=
Gitlab
::
Redis
.
params
redis_config_hash
[
:namespace
]
=
Gitlab
::
Redis
::
SIDEKIQ_NAMESPACE
# Default is to retry 25 times with exponential backoff. That's too much.
Sidekiq
.
default_worker_options
=
{
retry:
3
}
Sidekiq
.
configure_server
do
|
config
|
config
.
redis
=
redis_config_hash
...
...
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