Commit 3a360285 authored by Pavel Shutsin's avatar Pavel Shutsin

Merge branch 'huzaifaiftikhar1-update-feature-category' into 'master'

Update feature category for group & project deletion workers

See merge request gitlab-org/gitlab!80883
parents 188532e3 385444e6
...@@ -9,7 +9,7 @@ class AdjournedGroupDeletionWorker # rubocop:disable Scalability/IdempotentWorke ...@@ -9,7 +9,7 @@ class AdjournedGroupDeletionWorker # rubocop:disable Scalability/IdempotentWorke
INTERVAL = 10.seconds.to_i INTERVAL = 10.seconds.to_i
feature_category :authentication_and_authorization feature_category :compliance_management
def perform def perform
deletion_cutoff = Gitlab::CurrentSettings.deletion_adjourned_period.days.ago.to_date deletion_cutoff = Gitlab::CurrentSettings.deletion_adjourned_period.days.ago.to_date
......
...@@ -8,7 +8,7 @@ class AdjournedProjectDeletionWorker # rubocop:disable Scalability/IdempotentWor ...@@ -8,7 +8,7 @@ class AdjournedProjectDeletionWorker # rubocop:disable Scalability/IdempotentWor
sidekiq_options retry: 3 sidekiq_options retry: 3
include ExceptionBacktrace include ExceptionBacktrace
feature_category :authentication_and_authorization feature_category :compliance_management
def perform(project_id) def perform(project_id)
project = Project.find(project_id) project = Project.find(project_id)
......
...@@ -9,7 +9,7 @@ class AdjournedProjectsDeletionCronWorker # rubocop:disable Scalability/Idempote ...@@ -9,7 +9,7 @@ class AdjournedProjectsDeletionCronWorker # rubocop:disable Scalability/Idempote
INTERVAL = 10.seconds.to_i INTERVAL = 10.seconds.to_i
feature_category :authentication_and_authorization feature_category :compliance_management
def perform def perform
deletion_cutoff = Gitlab::CurrentSettings.deletion_adjourned_period.days.ago.to_date deletion_cutoff = Gitlab::CurrentSettings.deletion_adjourned_period.days.ago.to_date
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
:tags: [] :tags: []
- :name: cronjob:adjourned_group_deletion - :name: cronjob:adjourned_group_deletion
:worker_name: AdjournedGroupDeletionWorker :worker_name: AdjournedGroupDeletionWorker
:feature_category: :authentication_and_authorization :feature_category: :compliance_management
:has_external_dependencies: :has_external_dependencies:
:urgency: :low :urgency: :low
:resource_boundary: :unknown :resource_boundary: :unknown
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
:tags: [] :tags: []
- :name: cronjob:adjourned_projects_deletion_cron - :name: cronjob:adjourned_projects_deletion_cron
:worker_name: AdjournedProjectsDeletionCronWorker :worker_name: AdjournedProjectsDeletionCronWorker
:feature_category: :authentication_and_authorization :feature_category: :compliance_management
:has_external_dependencies: :has_external_dependencies:
:urgency: :low :urgency: :low
:resource_boundary: :unknown :resource_boundary: :unknown
...@@ -833,7 +833,7 @@ ...@@ -833,7 +833,7 @@
:tags: [] :tags: []
- :name: adjourned_project_deletion - :name: adjourned_project_deletion
:worker_name: AdjournedProjectDeletionWorker :worker_name: AdjournedProjectDeletionWorker
:feature_category: :authentication_and_authorization :feature_category: :compliance_management
:has_external_dependencies: :has_external_dependencies:
:urgency: :low :urgency: :low
:resource_boundary: :unknown :resource_boundary: :unknown
......
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