summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-11 22:53:42 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-11 22:53:42 +0300
commit5b2193555b69f82f2efdadaf62ada1e9c3c2d77a (patch)
treec448ed2ff94831ed31f06001627894b405e09b40
parentafa4a075e463103cd7148bc97db21421a0718a8a (diff)
downloadgitlab-ce-5b2193555b69f82f2efdadaf62ada1e9c3c2d77a.tar.gz
Describe unicorn timeout value in git over http
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--config/unicorn.rb.example14
1 files changed, 14 insertions, 0 deletions
diff --git a/config/unicorn.rb.example b/config/unicorn.rb.example
index f6c0f09b51d..e88a4522338 100644
--- a/config/unicorn.rb.example
+++ b/config/unicorn.rb.example
@@ -34,6 +34,20 @@ listen "/home/git/gitlab/tmp/sockets/gitlab.socket", :backlog => 64
listen "127.0.0.1:8080", :tcp_nopush => true
# nuke workers after 30 seconds instead of 60 seconds (the default)
+#
+# NOTICE: git push over http depends on this value.
+# If you want be able to push huge amount of data to git repository over http
+# you will have to increase this value too.
+#
+# Example of output if you try to push 1GB repo to GitLab over http.
+# -> git push http://gitlab.... master
+#
+# error: RPC failed; result=18, HTTP code = 200
+# fatal: The remote end hung up unexpectedly
+# fatal: The remote end hung up unexpectedly
+#
+# For more information see http://stackoverflow.com/a/21682112/752049
+#
timeout 30
# feel free to point this anywhere accessible on the filesystem