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/models/namespace/aggregation_schedule.rb')
-rw-r--r--app/models/namespace/aggregation_schedule.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/models/namespace/aggregation_schedule.rb b/app/models/namespace/aggregation_schedule.rb
index 6c977505f17..08187a9273e 100644
--- a/app/models/namespace/aggregation_schedule.rb
+++ b/app/models/namespace/aggregation_schedule.rb
@@ -13,11 +13,7 @@ class Namespace::AggregationSchedule < ApplicationRecord
after_create :schedule_root_storage_statistics
def default_lease_timeout
- if Feature.enabled?(:reduce_aggregation_schedule_lease, namespace.root_ancestor)
- ::Gitlab::CurrentSettings.namespace_aggregation_schedule_lease_duration_in_seconds
- else
- 30.minutes.to_i
- end
+ ::Gitlab::CurrentSettings.namespace_aggregation_schedule_lease_duration_in_seconds
end
def schedule_root_storage_statistics