gitlab-org--gitlab-foss/app/workers/pages_update_configuration_worker.rb

16 lines
313 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class PagesUpdateConfigurationWorker
include ApplicationWorker
idempotent!
feature_category :pages
def perform(project_id)
project = Project.find_by_id(project_id)
return unless project
Projects::UpdatePagesConfigurationService.new(project).execute
end
end