BigW Consortium Gitlab

Commit fa88474a by Yorick Peterse

Merge branch 'sidekiq_default_retries' into 'master'

Set default Sidekiq retries to 3 See merge request !7294
parents 0e1444f9 d498ec98
---
title: Set default Sidekiq retries to 3
merge_request: 7294
author:
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment