blob: 4d6453a85e7bf251fcd2dbdeffc18d2f58bee40b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# frozen_string_literal: true
module Environments
class AutoStopCronWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
data_consistency :always
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :continuous_delivery
worker_resource_boundary :cpu
def perform
AutoStopService.new.execute
end
end
end
|