Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/hashed_storage/project_migrate_worker.rb')
-rw-r--r--app/workers/hashed_storage/project_migrate_worker.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/workers/hashed_storage/project_migrate_worker.rb b/app/workers/hashed_storage/project_migrate_worker.rb
index 0659c8a6a46..edddea55356 100644
--- a/app/workers/hashed_storage/project_migrate_worker.rb
+++ b/app/workers/hashed_storage/project_migrate_worker.rb
@@ -4,11 +4,16 @@ module HashedStorage
class ProjectMigrateWorker < BaseWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
+ data_consistency :always
+
sidekiq_options retry: 3
queue_namespace :hashed_storage
loggable_arguments 1
- tags :exclude_from_gitlab_com
+
+ # Gitlab::HashedStorage::Migrator#migration_pending? depends on the
+ # queue size of this worker.
+ tags :exclude_from_gitlab_com, :needs_own_queue
attr_reader :project_id