diff options
Diffstat (limited to 'app/workers/self_monitoring_project_create_worker.rb')
-rw-r--r-- | app/workers/self_monitoring_project_create_worker.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/app/workers/self_monitoring_project_create_worker.rb b/app/workers/self_monitoring_project_create_worker.rb deleted file mode 100644 index 97d858eddd9..00000000000 --- a/app/workers/self_monitoring_project_create_worker.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -class SelfMonitoringProjectCreateWorker # rubocop:disable Scalability/IdempotentWorker - include ApplicationWorker - - data_consistency :always - - sidekiq_options retry: 3 - include ExclusiveLeaseGuard - include SelfMonitoringProjectWorker - - def perform - try_obtain_lease do - Gitlab::DatabaseImporters::SelfMonitoring::Project::CreateService.new.execute - end - end -end |