debian-mirror-gitlab/app/workers/namespaces/onboarding_user_added_worker.rb
2021-10-27 15:23:28 +05:30

23 lines
442 B
Ruby

# frozen_string_literal: true
module Namespaces
class OnboardingUserAddedWorker
include ApplicationWorker
data_consistency :always
sidekiq_options retry: 3
feature_category :users
tags :exclude_from_kubernetes
urgency :low
idempotent!
def perform(namespace_id)
namespace = Namespace.find(namespace_id)
OnboardingProgressService.new(namespace).execute(action: :user_added)
end
end
end