Skip to content
Snippets Groups Projects
Commit 7117b4b9 authored by Robert Speicher's avatar Robert Speicher
Browse files

Merge branch 'sidekiq_set_retries' into 'master'

Disable retries for remote mirror update worker

By default, Sidekiq will retry 25 times with an exponential backoff.
This may result in jobs retrying for up to 21 days. That could lead
to an ever-increasing queue size for the remote mirror updates. The
mirrors will attempt to update again within an interval, which should
be sufficient.

See merge request !848
parents 0eb28ebe 4b1a7f07
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -4,7 +4,8 @@ class RepositoryUpdateMirrorWorker
include Sidekiq::Worker
include Gitlab::ShellAdapter
 
sidekiq_options queue: :gitlab_shell
# Retry not neccessary. It will try again at the next update interval.
sidekiq_options queue: :gitlab_shell, retry: false
 
attr_accessor :project, :repository, :current_user
 
Loading
Loading
---
title: Disable retries for remote mirror update worker
merge_request: 848
author:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment