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

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

module Environments
  class AutoStopCronWorker # rubocop:disable Scalability/IdempotentWorker
    include ApplicationWorker
    include CronjobQueue # rubocop:disable Scalability/CronWorkerContext

    feature_category :continuous_delivery

    def perform
      AutoStopService.new.execute
    end
  end
end