diff --git a/app/workers/all_queues.yml b/app/workers/all_queues.yml index ab410275235908aaefe2c7548b79941e7a6c8bef..e99b84e9e28c5033a37684733fd0b9ea7db23158 100644 --- a/app/workers/all_queues.yml +++ b/app/workers/all_queues.yml @@ -4013,7 +4013,7 @@ :queue_namespace: - :name: flush_counter_increments :worker_name: FlushCounterIncrementsWorker - :feature_category: :continuous_integration + :feature_category: :source_code_management :has_external_dependencies: false :urgency: :low :resource_boundary: :unknown diff --git a/app/workers/flush_counter_increments_worker.rb b/app/workers/flush_counter_increments_worker.rb index b20449be4a658b347e7e71ca2abbe8e50dd0fbad..5c4f1350a456bbd8da7bd5cac09bd1615b946309 100644 --- a/app/workers/flush_counter_increments_worker.rb +++ b/app/workers/flush_counter_increments_worker.rb @@ -14,8 +14,10 @@ class FlushCounterIncrementsWorker loggable_arguments 0, 2 defer_on_database_health_signal :gitlab_main, [:project_daily_statistics], 1.minute # The increments in `ProjectStatistics` are owned by several teams depending - # on the counter - feature_category :continuous_integration + # on the counter, but rubocop will not allow shared for workers + # Passed model_names updated primarily belong to source_code_management + # See: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/211119 + feature_category :source_code_management urgency :low deduplicate :until_executed, including_scheduled: true, if_deduplicated: :reschedule_once