Skip to content

Commit

Permalink
Make input wait conditional on missing files.
Browse files Browse the repository at this point in the history
  • Loading branch information
EC2 Default User committed Mar 8, 2021
1 parent 5c6e56f commit 1e65970
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions calcloud/lambda_submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ def wait_for_inputs(comm, ipppssoot):
raise CalcloudInputsFailure(
f"Both the 'placed' and 'rescue' messages for {ipppssoot} have been deleted. Aborting input wait and submission."
)
print(f"Waiting for inputs for {ipppssoot}. input_tarball={input_tarball} memory_modeling={memory_modeling}")
time.sleep(30)
if not input_tarball or not memory_modeling:
print(
f"Waiting for inputs for {ipppssoot}. input_tarball={input_tarball} memory_modeling={memory_modeling}"
)
time.sleep(30)
print(f"Inputs for {ipppssoot} found.")

0 comments on commit 1e65970

Please sign in to comment.