Skip to content
Snippets Groups Projects

Disable retries for remote mirror update worker

Merged Drew Blessing requested to merge dblessing/gitlab:sidekiq_set_retries into master
2 files
+ 6
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -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