tweak deploy

This commit is contained in:
Thibault Duplessis 2018-12-17 13:01:24 +08:00
parent fa656127db
commit 640609eb40

View file

@ -107,7 +107,7 @@ fi
# start dropping packets. Run `bin/prod/iptables-drop 0` on the server to resume normal traffic.
START_DROPPING="$REMOTE_DIR/bin/prod/iptables-drop 0.9"
STOP_DROPPING="sleep 7 && $REMOTE_DIR/bin/prod/iptables-drop 0.75 && sleep 5 && $REMOTE_DIR/bin/prod/iptables-drop 0"
STOP_DROPPING="sleep 6 && $REMOTE_DIR/bin/prod/iptables-drop 0.75 && sleep 5 && $REMOTE_DIR/bin/prod/iptables-drop 0"
# STOP_DROPPING="echo \"not resuming traffic\""
if [ $mode = "main" ]; then