Explorar o código

Merge pull request #123 from overleaf/spd-idletimeout-config-fix

Make idleTimeout an integer in the config template
Simon Detheridge %!s(int64=5) %!d(string=hai) anos
pai
achega
878d63d084
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/git-bridge/conf/envsubst_template.json

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