Commit d0529ad21df0bb2e67b17ac71a27aa47dbf5339f
1 parent
11c9b06f
Exists in
master
and in
4 other branches
Fixed cache key difference for graph
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/repository.rb
@@ -65,7 +65,7 @@ class Repository | @@ -65,7 +65,7 @@ class Repository | ||
65 | end | 65 | end |
66 | 66 | ||
67 | def graph_log | 67 | def graph_log |
68 | - Rails.cache.fetch(cache_key(:graph)) do | 68 | + Rails.cache.fetch(cache_key(:graph_log)) do |
69 | stats = Gitlab::Git::GitStats.new(raw, root_ref) | 69 | stats = Gitlab::Git::GitStats.new(raw, root_ref) |
70 | stats.parsed_log | 70 | stats.parsed_log |
71 | end | 71 | end |