mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-15 09:42:38 -05:00
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:
@@ -2,7 +2,7 @@
|
||||
|
||||
set -e -o pipefail
|
||||
|
||||
TERMINATE_TIMEOUT=30
|
||||
TERMINATE_TIMEOUT=10
|
||||
|
||||
function check_params {
|
||||
if [ -z "${NOTIFY_APP_NAME}" ]; then
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
set -e -o pipefail
|
||||
|
||||
TERMINATE_TIMEOUT=30
|
||||
TERMINATE_TIMEOUT=10
|
||||
|
||||
function check_params {
|
||||
if [ -z "${NOTIFY_APP_NAME}" ]; then
|
||||
|
||||
Reference in New Issue
Block a user