diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-02-05 20:43:23 +0100 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-02-05 20:43:23 +0100 |
commit | aab953da7d26e4ac654e50e80beca1083ea4f11f (patch) | |
tree | 88f6ed24342440e93c8c1f69096802d300e9eb86 /app/models/concerns | |
parent | 8f557206d8e6dacdbbeb9862ea9cc0a3423f458f (diff) | |
download | gitlab-ce-aab953da7d26e4ac654e50e80beca1083ea4f11f.tar.gz |
Update RedisCacheable#cache_attribute_key
Diffstat (limited to 'app/models/concerns')
-rw-r--r-- | app/models/concerns/redis_cacheable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/redis_cacheable.rb b/app/models/concerns/redis_cacheable.rb index 249ebf9af07..b889f4202dc 100644 --- a/app/models/concerns/redis_cacheable.rb +++ b/app/models/concerns/redis_cacheable.rb @@ -27,7 +27,7 @@ module RedisCacheable private def cache_attribute_key - "#{self.class.name}:attributes:#{self.id}" + "cache:#{self.class.name}:#{self.id}:attributes" end def cached_attributes |