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