summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorSebastiano Pilla <sebastiano@sebastianopilla.com>2017-06-03 14:25:01 +0200
committerSebastiano Pilla <sebastiano@sebastianopilla.com>2017-06-03 14:25:01 +0200
commit203748f479d06b284518b160e8196df61666235a (patch)
tree7e12422b706a2c9f487fd89461e7cd56b057014f /src/main/java
parentac94c2c0c4dbcda4a6641ad16d9ece20258a10f4 (diff)
downloadgitblit-203748f479d06b284518b160e8196df61666235a.tar.gz
gitblit-203748f479d06b284518b160e8196df61666235a.zip
Rename the setting to httpIdleTimeout
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/gitblit/GitBlitServer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/gitblit/GitBlitServer.java b/src/main/java/com/gitblit/GitBlitServer.java
index 731ca8e5..acdc2c26 100644
--- a/src/main/java/com/gitblit/GitBlitServer.java
+++ b/src/main/java/com/gitblit/GitBlitServer.java
@@ -293,7 +293,7 @@ public class GitBlitServer {
ServerConnector connector = new ServerConnector(server, factory);
connector.setSoLingerTime(-1);
- connector.setIdleTimeout(settings.getLong(Keys.server.httpTimeout, 30000L));
+ connector.setIdleTimeout(settings.getLong(Keys.server.httpIdleTimeout, 30000L));
connector.setPort(params.securePort);
String bindInterface = settings.getString(Keys.server.httpsBindInterface, null);
if (!StringUtils.isEmpty(bindInterface)) {
@@ -330,7 +330,7 @@ public class GitBlitServer {
ServerConnector connector = new ServerConnector(server, new HttpConnectionFactory(httpConfig));
connector.setSoLingerTime(-1);
- connector.setIdleTimeout(settings.getLong(Keys.server.httpTimeout, 30000L));
+ connector.setIdleTimeout(settings.getLong(Keys.server.httpIdleTimeout, 30000L));
connector.setPort(params.port);
String bindInterface = settings.getString(Keys.server.httpBindInterface, null);
if (!StringUtils.isEmpty(bindInterface)) {