Lower the termination timeout to 10s

Cloudfoundry only gives us 10s to terminate our processes:
https://docs.cloudfoundry.org/devguide/deploy-apps/app-lifecycle.html#shutdown
This commit is contained in:
Athanasios Voutsadakis
2018-02-27 17:44:16 +00:00
parent cf439575e5
commit 9a8e771d95
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
set -e -o pipefail
TERMINATE_TIMEOUT=30
TERMINATE_TIMEOUT=10
function check_params {
if [ -z "${NOTIFY_APP_NAME}" ]; then

View File

@@ -2,7 +2,7 @@
set -e -o pipefail
TERMINATE_TIMEOUT=30
TERMINATE_TIMEOUT=10
function check_params {
if [ -z "${NOTIFY_APP_NAME}" ]; then