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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/environments/auto_stop_cron_worker.rb')
-rw-r--r--app/workers/environments/auto_stop_cron_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/environments/auto_stop_cron_worker.rb b/app/workers/environments/auto_stop_cron_worker.rb
index 8fcda35b414..fdc9490453c 100644
--- a/app/workers/environments/auto_stop_cron_worker.rb
+++ b/app/workers/environments/auto_stop_cron_worker.rb
@@ -8,7 +8,7 @@ module Environments
feature_category :continuous_delivery
def perform
- return unless Feature.enabled?(:auto_stop_environments)
+ return unless Feature.enabled?(:auto_stop_environments, default_enabled: true)
AutoStopService.new.execute
end