提交 fa88474a 编写于 作者: Y Yorick Peterse

Merge branch 'sidekiq_default_retries' into 'master'

Set default Sidekiq retries to 3

See merge request !7294
---
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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册