diff options
author | Valery Sizov <valery@gitlab.com> | 2018-12-14 15:14:46 +0300 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2018-12-17 21:48:46 +0300 |
commit | aaa51fe9ea4f671aa0ee4845dfef87200516623f (patch) | |
tree | 473362826f46927c9e26e954d41bfa8694bbe0bf /config | |
parent | 4a10c813e726d09216c534bb0ad0ae50a0400259 (diff) |
Bump gitlab-reliable-fetcher gem
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/sidekiq.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/initializers/sidekiq.rb b/config/initializers/sidekiq.rb index 6aba6c7c21d..be4183f39be 100644 --- a/config/initializers/sidekiq.rb +++ b/config/initializers/sidekiq.rb @@ -42,7 +42,9 @@ Sidekiq.configure_server do |config| end if Feature::FlipperFeature.table_exists? && Feature.enabled?(:gitlab_sidekiq_reliable_fetcher) - Sidekiq::ReliableFetcher.setup_reliable_fetch!(config) + # By default we're going to use Semi Reliable Fetch + config.options[:semi_reliable_fetch] = Feature.enabled?(:gitlab_sidekiq_enable_semi_reliable_fetcher, default_enabled: true) + Sidekiq::ReliableFetch.setup_reliable_fetch!(config) end # Sidekiq-cron: load recurring jobs from gitlab.yml |