Commit d0529ad2 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fixed cache key difference for graph

parent 11c9b06f
...@@ -65,7 +65,7 @@ class Repository ...@@ -65,7 +65,7 @@ class Repository
end end
def graph_log def graph_log
Rails.cache.fetch(cache_key(:graph)) do Rails.cache.fetch(cache_key(:graph_log)) do
stats = Gitlab::Git::GitStats.new(raw, root_ref) stats = Gitlab::Git::GitStats.new(raw, root_ref)
stats.parsed_log stats.parsed_log
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment