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:
authordineshpanda <dineshpanda92@gmail.com>2019-08-31 22:57:00 +0300
committerdineshpanda <dineshpanda92@gmail.com>2019-08-31 22:57:00 +0300
commit20111b045d7df27223808b1e8eaa4861d4906863 (patch)
treea8050f23fb5ef660f2c366c86e9230c237f4a63a /app/models/namespace
parentdc864927246746a34b675c7ee8ffbd1b533841e0 (diff)
Avoid calling freeze on already frozen strings in app/models
Diffstat (limited to 'app/models/namespace')
-rw-r--r--app/models/namespace/aggregation_schedule.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/namespace/aggregation_schedule.rb b/app/models/namespace/aggregation_schedule.rb
index 61a7eb4b576..ed61c807519 100644
--- a/app/models/namespace/aggregation_schedule.rb
+++ b/app/models/namespace/aggregation_schedule.rb
@@ -7,7 +7,7 @@ class Namespace::AggregationSchedule < ApplicationRecord
self.primary_key = :namespace_id
DEFAULT_LEASE_TIMEOUT = 1.5.hours.to_i
- REDIS_SHARED_KEY = 'gitlab:update_namespace_statistics_delay'.freeze
+ REDIS_SHARED_KEY = 'gitlab:update_namespace_statistics_delay'
belongs_to :namespace