diff options
author | dineshpanda <dineshpanda92@gmail.com> | 2019-08-31 22:57:00 +0300 |
---|---|---|
committer | dineshpanda <dineshpanda92@gmail.com> | 2019-08-31 22:57:00 +0300 |
commit | 20111b045d7df27223808b1e8eaa4861d4906863 (patch) | |
tree | a8050f23fb5ef660f2c366c86e9230c237f4a63a /app/models/namespace | |
parent | dc864927246746a34b675c7ee8ffbd1b533841e0 (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.rb | 2 |
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 |