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: a3ff4bd2101138c41cdbc1c79850c2cc33199c3c (plain)
1
2
3
4
5
6
7
8
9
10
class PagesDomainVerificationCronWorker
  include ApplicationWorker
  include CronjobQueue

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