Commit d9c72cac authored by Stan Hu's avatar Stan Hu

Move repository update mirror jobs to project_mirror Sidekiq jobs

parent 007947f1
...@@ -3,7 +3,7 @@ class RepositoryUpdateMirrorDispatchWorker ...@@ -3,7 +3,7 @@ class RepositoryUpdateMirrorDispatchWorker
LEASE_TIMEOUT = 5.minutes LEASE_TIMEOUT = 5.minutes
sidekiq_options queue: :gitlab_shell sidekiq_options queue: :project_mirror
attr_accessor :project, :repository, :current_user attr_accessor :project, :repository, :current_user
......
...@@ -5,7 +5,7 @@ class RepositoryUpdateMirrorWorker ...@@ -5,7 +5,7 @@ class RepositoryUpdateMirrorWorker
include Gitlab::ShellAdapter include Gitlab::ShellAdapter
# Retry not neccessary. It will try again at the next update interval. # Retry not neccessary. It will try again at the next update interval.
sidekiq_options queue: :gitlab_shell, retry: false sidekiq_options queue: :project_mirror, retry: false
attr_accessor :project, :repository, :current_user attr_accessor :project, :repository, :current_user
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment