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
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
@@ -4,7 +4,8 @@ class UpdateMirrorError < StandardError; end
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