From d9bea3226dbb70a8fbc6da5e5ab1b099275499da Mon Sep 17 00:00:00 2001 From: Jorge Hernandez Date: Fri, 15 Mar 2019 00:26:53 -0500 Subject: reducing kill timer to better play with k8s ones Change-Id: Ibd69b100468716b929d42c9145fb72153cf685ed Issue-ID: POLICY-1560 Signed-off-by: Jorge Hernandez --- .../src/main/server-gen/bin/policy-management-controller | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'policy-management/src') diff --git a/policy-management/src/main/server-gen/bin/policy-management-controller b/policy-management/src/main/server-gen/bin/policy-management-controller index 79fab581..fe6fe20a 100644 --- a/policy-management/src/main/server-gen/bin/policy-management-controller +++ b/policy-management/src/main/server-gen/bin/policy-management-controller @@ -102,9 +102,9 @@ function um_stop() { remove_pid_file else if [[ -n ${TELEMETRY_PASSWORD} ]]; then - http_proxy= timeout 30 curl -k --silent --user ${TELEMETRY_USER}:${TELEMETRY_PASSWORD} -X DELETE https://localhost:${TELEMETRY_PORT}/policy/pdp/engine -o /dev/null + http_proxy= timeout 10 curl -k --silent --user ${TELEMETRY_USER}:${TELEMETRY_PASSWORD} -X DELETE https://localhost:${TELEMETRY_PORT}/policy/pdp/engine -o /dev/null else - http_proxy= timeout 30 curl -k --silent -X DELETE https://localhost:${TELEMETRY_PORT}/policy/pdp/engine -o /dev/null + http_proxy= timeout 10 curl -k --silent -X DELETE https://localhost:${TELEMETRY_PORT}/policy/pdp/engine -o /dev/null fi sleep 5 echo "Stopping $SNAME..." -- cgit 1.2.3-korg