Просмотр исходного кода

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

Make idleTimeout an integer in the config template
Simon Detheridge 5 лет назад
Родитель
Сommit
878d63d084
1 измененных файлов с 1 добавлено и 1 удалено
  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}",