Bump up NFS wait time in qdo (since this has been causing
authorSteve Reinhardt <stever@eecs.umich.edu>
Sun, 12 Mar 2006 03:01:33 +0000 (22:01 -0500)
committerSteve Reinhardt <stever@eecs.umich.edu>
Sun, 12 Mar 2006 03:01:33 +0000 (22:01 -0500)
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

index 135cce4ef657b646d111a6dfb8a1a6c4678dd3c4..b3c02572044fef162dfbd485bee7cef5b816e7fa 100755 (executable)
--- 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