Преглед изворни кода

Drop default jetty idle timeout to 30sec

Simon Detheridge пре 5 година
родитељ
комит
33b6ffd4a2

+ 1 - 1
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}",

+ 1 - 1
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",

+ 1 - 1
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",