Welcome to mirror list, hosted at ThFree Co, Russian Federation.

pages_domain_verification_cron_worker.rb « workers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 92d62a15aee649c925aedbbc2865dac03610c4f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

class PagesDomainVerificationCronWorker
  include ApplicationWorker
  include CronjobQueue

  def perform
    PagesDomain.needs_verification.find_each do |domain|
      PagesDomainVerificationWorker.perform_async(domain.id)
    end
  end
end