diff options
Diffstat (limited to 'app/workers/namespaces/onboarding_progress_worker.rb')
-rw-r--r-- | app/workers/namespaces/onboarding_progress_worker.rb | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/app/workers/namespaces/onboarding_progress_worker.rb b/app/workers/namespaces/onboarding_progress_worker.rb deleted file mode 100644 index 49629428459..00000000000 --- a/app/workers/namespaces/onboarding_progress_worker.rb +++ /dev/null @@ -1,25 +0,0 @@ -# frozen_string_literal: true - -module Namespaces - class OnboardingProgressWorker - include ApplicationWorker - - data_consistency :always - - sidekiq_options retry: 3 - - feature_category :onboarding - worker_resource_boundary :cpu - urgency :low - - deduplicate :until_executed - idempotent! - - def perform(namespace_id, action) - namespace = Namespace.find_by_id(namespace_id) - return unless namespace && action - - Onboarding::ProgressService.new(namespace).execute(action: action.to_sym) - end - end -end |