Commit 5b2193555b69f82f2efdadaf62ada1e9c3c2d77a

Authored by Dmitriy Zaporozhets
1 parent afa4a075

Describe unicorn timeout value in git over http

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing 1 changed file with 14 additions and 0 deletions   Show diff stats
config/unicorn.rb.example
... ... @@ -34,6 +34,20 @@ listen &quot;/home/git/gitlab/tmp/sockets/gitlab.socket&quot;, :backlog =&gt; 64
34 34 listen "127.0.0.1:8080", :tcp_nopush => true
35 35  
36 36 # nuke workers after 30 seconds instead of 60 seconds (the default)
  37 +#
  38 +# NOTICE: git push over http depends on this value.
  39 +# If you want be able to push huge amount of data to git repository over http
  40 +# you will have to increase this value too.
  41 +#
  42 +# Example of output if you try to push 1GB repo to GitLab over http.
  43 +# -> git push http://gitlab.... master
  44 +#
  45 +# error: RPC failed; result=18, HTTP code = 200
  46 +# fatal: The remote end hung up unexpectedly
  47 +# fatal: The remote end hung up unexpectedly
  48 +#
  49 +# For more information see http://stackoverflow.com/a/21682112/752049
  50 +#
37 51 timeout 30
38 52  
39 53 # feel free to point this anywhere accessible on the filesystem
... ...