Fix timeout error when preparing git graph.

This commit is contained in:
Steven Mok 2014-07-18 23:03:23 +08:00
parent b634d2801e
commit 69dc5461c3
1 changed files with 1 additions and 1 deletions

View File

@ -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