summaryrefslogtreecommitdiff
path: root/app/models/concerns
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-02-05 20:43:23 +0100
committerMatija Čupić <matteeyah@gmail.com>2018-02-05 20:43:23 +0100
commitaab953da7d26e4ac654e50e80beca1083ea4f11f (patch)
tree88f6ed24342440e93c8c1f69096802d300e9eb86 /app/models/concerns
parent8f557206d8e6dacdbbeb9862ea9cc0a3423f458f (diff)
downloadgitlab-ce-aab953da7d26e4ac654e50e80beca1083ea4f11f.tar.gz
Update RedisCacheable#cache_attribute_key
Diffstat (limited to 'app/models/concerns')
-rw-r--r--app/models/concerns/redis_cacheable.rb2
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