Bump up NFS wait time in qdo (since this has been causing
problems in pool regressions). util/qdo: Bump up hardcoded NFS wait time from 45 sec to 90 sec (and print threshold from 10 sec to 30 sec). Would be even nicer to make these cmd-line params, but nobody would use them anyway. --HG-- extra : convert_revision : 1e9b3ad43a5dbf5e30758069e5a8cde3749cc1a6
This commit is contained in:
parent
0cbb43ebb1
commit
1141610a01
1 changed files with 2 additions and 2 deletions
4
util/qdo
4
util/qdo
|
@ -179,10 +179,10 @@ try:
|
|||
|
||||
if output_dir:
|
||||
secs_waited = 0
|
||||
while not shell.dir_exists(output_dir) and secs_waited < 45:
|
||||
while not shell.dir_exists(output_dir) and secs_waited < 90:
|
||||
time.sleep(5)
|
||||
secs_waited += 5
|
||||
if secs_waited > 10:
|
||||
if secs_waited > 30:
|
||||
print "waited", secs_waited, "seconds for", output_dir
|
||||
|
||||
# run command
|
||||
|
|
Loading…
Reference in a new issue