From 1141610a01c7b22050fe4d862e20f12a5a7c8414 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Sat, 11 Mar 2006 22:01:33 -0500 Subject: 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 --- util/qdo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util') diff --git a/util/qdo b/util/qdo index 135cce4ef..b3c025720 100755 --- a/util/qdo +++ b/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 -- cgit v1.2.3