Commit 7b453451 authored by Yorick Peterse's avatar Yorick Peterse

Merge branch 'move-sidekiq-project-mirror-queue' into 'master'

Move repository update mirror jobs to project_mirror Sidekiq jobs

See merge request !900
parents c07b2c04 357f7759
...@@ -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
......
...@@ -52,6 +52,7 @@ ...@@ -52,6 +52,7 @@
- [pages, 1] - [pages, 1]
- [elasticsearch, 1] - [elasticsearch, 1]
- [geo, 1] - [geo, 1]
- [project_mirror, 1]
- [project_update_repository_storage, 1] - [project_update_repository_storage, 1]
- [admin_emails, 1] - [admin_emails, 1]
- [geo_repository_update, 1] - [geo_repository_update, 1]
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