debian-mirror-gitlab/app/workers/environments/auto_stop_cron_worker.rb
2021-06-08 01:23:25 +05:30

17 lines
370 B
Ruby

# frozen_string_literal: true
module Environments
class AutoStopCronWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
sidekiq_options retry: 3
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :continuous_delivery
def perform
AutoStopService.new.execute
end
end
end