From 33b6ffd4a24bccf01931d7b950eb09359973ba42 Mon Sep 17 00:00:00 2001 From: Simon Detheridge Date: Thu, 1 Jul 2021 11:46:42 +0100 Subject: [PATCH] Drop default jetty idle timeout to 30sec --- services/git-bridge/conf/envsubst_template.json | 2 +- services/git-bridge/conf/example_config.json | 2 +- services/git-bridge/conf/local.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/services/git-bridge/conf/envsubst_template.json b/services/git-bridge/conf/envsubst_template.json index df03c9939a..e9c08ef5c9 100644 --- a/services/git-bridge/conf/envsubst_template.json +++ b/services/git-bridge/conf/envsubst_template.json @@ -1,7 +1,7 @@ { "port": ${GIT_BRIDGE_PORT:-8000}, "bindIp": "${GIT_BRIDGE_BIND_IP:-0.0.0.0}", - "idleTimeout": ${GIT_BRIDGE_IDLE_TIMEOUT:-600000}, + "idleTimeout": ${GIT_BRIDGE_IDLE_TIMEOUT:-30000}, "rootGitDirectory": "${GIT_BRIDGE_ROOT_DIR:-/tmp/wlgb}", "apiBaseUrl": "${GIT_BRIDGE_API_BASE_URL:-https://localhost/api/v0}", "postbackBaseUrl": "${GIT_BRIDGE_POSTBACK_BASE_URL:-https://localhost}", diff --git a/services/git-bridge/conf/example_config.json b/services/git-bridge/conf/example_config.json index 3972be2cb9..bfad73f461 100644 --- a/services/git-bridge/conf/example_config.json +++ b/services/git-bridge/conf/example_config.json @@ -1,7 +1,7 @@ { "port": 8080, "bindIp": "127.0.0.1", - "idleTimeout": 60000, + "idleTimeout": 30000, "rootGitDirectory": "/tmp/wlgb", "apiBaseUrl": "https://localhost/api/v0", "postbackBaseUrl": "https://localhost", diff --git a/services/git-bridge/conf/local.json b/services/git-bridge/conf/local.json index 73121ce6ef..9ced5cb053 100644 --- a/services/git-bridge/conf/local.json +++ b/services/git-bridge/conf/local.json @@ -1,7 +1,7 @@ { "port": 8000, "bindIp": "0.0.0.0", - "idleTimeout": 600000, + "idleTimeout": 30000, "rootGitDirectory": "/tmp/wlgb", "apiBaseUrl": "http://v2.overleaf.test:4000/api/v0", "postbackBaseUrl": "http://git-bridge:8000",