Fix timeout error when preparing git graph.
This commit is contained in:
parent
b634d2801e
commit
69dc5461c3
|
@ -134,7 +134,7 @@ class Repository
|
|||
|
||||
def graph_log
|
||||
Rails.cache.fetch(cache_key(:graph_log)) do
|
||||
stats = Gitlab::Git::GitStats.new(raw, root_ref)
|
||||
stats = Gitlab::Git::GitStats.new(raw, root_ref, Gitlab.config.git.timeout)
|
||||
stats.parsed_log
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue