summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/GitBlitServer.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/gitblit/GitBlitServer.java')
-rw-r--r--src/main/java/com/gitblit/GitBlitServer.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/gitblit/GitBlitServer.java b/src/main/java/com/gitblit/GitBlitServer.java
index 6123a872..731ca8e5 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(30000);
+ connector.setIdleTimeout(settings.getLong(Keys.server.httpTimeout, 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(30000);
+ connector.setIdleTimeout(settings.getLong(Keys.server.httpTimeout, 30000L));
connector.setPort(params.port);
String bindInterface = settings.getString(Keys.server.httpBindInterface, null);
if (!StringUtils.isEmpty(bindInterface)) {
@@ -608,4 +608,4 @@ public class GitBlitServer {
public String ldapLdifFile;
}
-} \ No newline at end of file
+}