mirror of https://github.com/ArduPilot/ardupilot
scripts: raise max lockage in autotest
This commit is contained in:
parent
b8c6bee132
commit
c2a12b55a0
|
@ -40,7 +40,7 @@ lock_file() {
|
|||
|
||||
if test -f "$lck" && kill -0 $pid 2> /dev/null; then
|
||||
LOCKAGE=$(($(date +%s) - $(stat -c '%Y' "build.lck")))
|
||||
test $LOCKAGE -gt 7200 && {
|
||||
test $LOCKAGE -gt 30000 && {
|
||||
echo "old lock file $lck is valid for $pid with age $LOCKAGE seconds"
|
||||
}
|
||||
return 1
|
||||
|
|
Loading…
Reference in New Issue