mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-26 09:58:20 +01:00
don't timeout games just because they're set to sleep a long time between moves.
This commit is contained in:
parent
283a249548
commit
e8ae5e43ad
1 changed files with 2 additions and 1 deletions
|
@ -201,7 +201,8 @@ do_one() {
|
|||
done
|
||||
|
||||
test -n "$VERBOSE" && echo "watching:$PIDS"
|
||||
END_TIME=$(($(date +%s) + 300)) # five minute timeout
|
||||
# allow time for 25 moves, then timeout
|
||||
END_TIME=$(($(date +%s) + $((WAIT_MAX*20))))
|
||||
while [ -d /tmp/$RUN_NAME -a -n "$PIDS" ]; do
|
||||
sleep 10
|
||||
for PID in $PIDS; do
|
||||
|
|
Loading…
Reference in a new issue