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

Make idleTimeout an integer in the config template

Simon Detheridge пре 5 година
родитељ
комит
9b8b13877a
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}",