Skip to content

Commit

Permalink
reduce the stop timeout to 3 minutes
Browse files Browse the repository at this point in the history
Signed-off-by: David Festal <dfestal@redhat.com>
  • Loading branch information
davidfestal committed Nov 9, 2017
1 parent 4a4a4f0 commit cc96961
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ echo "done!"
# -------------------------------------------------------------
if [ "${COMMAND}" == "cleanup" ]; then
echo "[CHE] Stopping the Che server..."
oc scale --replicas=0 --timeout=3h dc che
oc scale --replicas=0 --timeout=3m dc che
echo "[CHE] Deleting all OpenShift objects..."
oc delete all --all
echo "[CHE] Cleanup successfully started. Use \"oc get all\" to verify that all resources have been deleted."
Expand Down

0 comments on commit cc96961

Please sign in to comment.