summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-08-11 18:38:02 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-08-11 18:38:02 +0000
commit43619db5155d29ddaab4c02ed383213f18531d26 (patch)
treed1b7d50924f24108f11587d847937305255e8371 /lib
parent2c77dae2d7cee9917e9d2664d2f84749ef821e91 (diff)
parent4535db04b28996baf118bafeb77acd16065e5c5a (diff)
downloadgitlab-ce-43619db5155d29ddaab4c02ed383213f18531d26.tar.gz
Merge branch 'increase-import-timeout' into 'master'
Increase import timeout Increase import timeout from 2 to 4 minutes. It allows repositories like `gitlabhq` be imported via UI See merge request !1013
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/backend/shell.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/backend/shell.rb b/lib/gitlab/backend/shell.rb
index b93800e235f..53bff3037e5 100644
--- a/lib/gitlab/backend/shell.rb
+++ b/lib/gitlab/backend/shell.rb
@@ -27,7 +27,7 @@ module Gitlab
# import_repository("gitlab/gitlab-ci", "https://github.com/randx/six.git")
#
def import_repository(name, url)
- system "#{gitlab_shell_path}/bin/gitlab-projects", "import-project", "#{name}.git", url
+ system "#{gitlab_shell_path}/bin/gitlab-projects", "import-project", "#{name}.git", url, '240'
end
# Move repository