drop packets for some more time after deploy

pull/4692/head
Thibault Duplessis 2018-11-06 09:10:50 +01:00
parent d660c04f6f
commit bf07a99d16
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ FS_WARMUP="cat $REMOTE_DIR/lib/* > /dev/null && cat $REMOTE_DIR/bin/lila > /dev/
# 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.92"
STOP_DROPPING="sleep 9 && $REMOTE_DIR/bin/prod/iptables-drop 0"
STOP_DROPPING="sleep 9 && $REMOTE_DIR/bin/prod/iptables-drop 0.7 && sleep 4 && $REMOTE_DIR/bin/prod/iptables-drop 0"
# STOP_DROPPING="echo \"not resuming traffic\""
if [ $mode = "main" ]; then