diff options
author | Sebastiano Pilla <sebastiano@sebastianopilla.com> | 2017-06-01 00:07:45 +0200 |
---|---|---|
committer | Sebastiano Pilla <sebastiano@sebastianopilla.com> | 2017-06-01 00:07:45 +0200 |
commit | ac94c2c0c4dbcda4a6641ad16d9ece20258a10f4 (patch) | |
tree | db5a04ae42e517c713a27122afe99da772a53b52 /src/main/distrib/data | |
parent | c1d816da6e91037741a47fcd79458fe658a45b1d (diff) | |
download | gitblit-ac94c2c0c4dbcda4a6641ad16d9ece20258a10f4.tar.gz gitblit-ac94c2c0c4dbcda4a6641ad16d9ece20258a10f4.zip |
Adds the
server.httpTimeout
setting to allow cloning big repositories over HTTP. This change fixes the java.util.concurrent.TimeoutException issue described in https://groups.google.com/d/topic/gitblit/UvDC48NpmF4/discussion .
Diffstat (limited to 'src/main/distrib/data')
-rw-r--r-- | src/main/distrib/data/defaults.properties | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/distrib/data/defaults.properties b/src/main/distrib/data/defaults.properties index 51fa1253..e2530640 100644 --- a/src/main/distrib/data/defaults.properties +++ b/src/main/distrib/data/defaults.properties @@ -2134,6 +2134,13 @@ server.requireClientCertificates = false # RESTART REQUIRED server.shutdownPort = 8081 +# Timeout (in milliseconds) for http and https requests +# Increase this value if you get java.util.concurrent.TimeoutException errors +# +# SINCE 1.9.0 +# RESTART REQUIRED +server.httpTimeout = 30000 + # # Gitblit Filestore Settings # |