use nice to give the relay a fighting chance

This commit is contained in:
Eric House 2013-06-21 05:41:23 -07:00
parent 11d299606e
commit 6446819466

View file

@ -449,6 +449,7 @@ run_cmds() {
try_upgrade $KEY try_upgrade $KEY
launch $KEY & launch $KEY &
PID=$! PID=$!
renice +1 $PID >/dev/null
PIDS[$KEY]=$PID PIDS[$KEY]=$PID
ROOM_PIDS[$ROOM]=$PID ROOM_PIDS[$ROOM]=$PID
MINEND[$KEY]=$(($NOW + $MINRUN)) MINEND[$KEY]=$(($NOW + $MINRUN))