File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -235,8 +235,8 @@ def run(args: argparse.Namespace):
235235
236236 if result_phase == "succeeded" :
237237 # Wait for the log file to appear (rsync may take a moment)
238- max_wait = 10 # seconds
239- wait_interval = 0.5
238+ max_wait = 3600 # seconds
239+ wait_interval = 1
240240 elapsed = 0
241241
242242 while not log_file .exists () and elapsed < max_wait :
@@ -247,7 +247,7 @@ def run(args: argparse.Namespace):
247247 subprocess .run (["cat" , f"jobs/{ job_name } /{ job_name } .log" ], check = True )
248248 print (f"RUNDIR: jobs/{ job_name } " )
249249 else :
250- print (f"Warning: Log file not found after { max_wait } s. Check jobs/{ job_name } / " )
250+ print (f"Warning: Log file not found after { max_wait } s. Check jobs/{ job_name } " )
251251 else :
252252 print ("Something went wrong with running your job. Check over your code and please try again." )
253253
You can’t perform that action at this time.
0 commit comments