include timestamp of switch to UDP -- in case it needs to be

correlated with logs
This commit is contained in:
Eric House 2014-12-08 06:20:47 -08:00
parent b8660470f7
commit f84f9aa85f

View file

@ -375,6 +375,7 @@ try_upgrade_upd() {
if [ "${CMD/--use-udp/}" = "${CMD}" ]; then
if [ $((RANDOM % 100)) -lt $UDP_PCT_INCR ]; then
ARGS[$KEY]="$CMD --use-udp"
echo -n "$(date): "
echo "upgrading key $KEY to use UDP"
fi
fi