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

Make idleTimeout an integer in the config template
This commit is contained in:
Simon Detheridge 2021-06-24 20:56:30 +01:00 committed by GitHub
commit 878d63d084

View file

@ -1,7 +1,7 @@
{ {
"port": ${GIT_BRIDGE_PORT:-8000}, "port": ${GIT_BRIDGE_PORT:-8000},
"bindIp": "${GIT_BRIDGE_BIND_IP:-0.0.0.0}", "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}", "rootGitDirectory": "${GIT_BRIDGE_ROOT_DIR:-/tmp/wlgb}",
"apiBaseUrl": "${GIT_BRIDGE_API_BASE_URL:-https://localhost/api/v0}", "apiBaseUrl": "${GIT_BRIDGE_API_BASE_URL:-https://localhost/api/v0}",
"postbackBaseUrl": "${GIT_BRIDGE_POSTBACK_BASE_URL:-https://localhost}", "postbackBaseUrl": "${GIT_BRIDGE_POSTBACK_BASE_URL:-https://localhost}",