Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Mok <su9ar.mo@gmail.com>2014-07-18 19:03:23 +0400
committerSteven Mok <su9ar.mo@gmail.com>2014-07-18 19:03:23 +0400
commit69dc5461c3fda2fd447f556c6237c2594c182e71 (patch)
treec4160cb41dcf35abed96cc0a9bcd2ac85c183267 /app/models/repository.rb
parentb634d2801e6abdd039447f53ec5d9cf709f66b06 (diff)
Fix timeout error when preparing git graph.
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r--app/models/repository.rb2
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