Commit 5b6e6605 authored by Tiago Botelho's avatar Tiago Botelho

Moves remote mirror, import and fork workers to their own queue

parent 1501d7c9
......@@ -4,9 +4,10 @@ class RepositoryUpdateMirrorWorker
include Sidekiq::Worker
include Gitlab::ShellAdapter
include DedicatedSidekiqQueue
# Retry not neccessary. It will try again at the next update interval.
sidekiq_options queue: :project_mirror, retry: false
sidekiq_options retry: false
attr_accessor :project, :repository, :current_user
......
......@@ -4,8 +4,9 @@ class RepositoryUpdateRemoteMirrorWorker
include Sidekiq::Worker
include Gitlab::ShellAdapter
include DedicatedSidekiqQueue
sidekiq_options queue: :project_mirror, retry: 3, dead: false
sidekiq_options retry: 3, dead: false
sidekiq_retry_in { |count| 30 * count }
......
......@@ -57,7 +57,8 @@
# EE specific queues
- [ldap_group_sync, 2]
- [geo, 1]
- [project_mirror, 1]
- [repository_update_mirror, 1]
- [repository_update_remote_mirror, 1]
- [project_update_repository_storage, 1]
- [admin_emails, 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