diff options
author | Steven Mok <su9ar.mo@gmail.com> | 2014-07-18 23:03:23 +0800 |
---|---|---|
committer | Steven Mok <su9ar.mo@gmail.com> | 2014-07-18 23:03:23 +0800 |
commit | 69dc5461c3fda2fd447f556c6237c2594c182e71 (patch) | |
tree | c4160cb41dcf35abed96cc0a9bcd2ac85c183267 | |
parent | b634d2801e6abdd039447f53ec5d9cf709f66b06 (diff) | |
download | gitlab-ce-69dc5461c3fda2fd447f556c6237c2594c182e71.tar.gz |
Fix timeout error when preparing git graph.
-rw-r--r-- | app/models/repository.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb index 89bf12ce9ef..2ff70c248dc 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -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 |