Preserve installed operator workspace before consolidation
Local preservation snapshot, not a new deployment or simulation acceptance.
This commit is contained in:
@@ -152,9 +152,8 @@ def main():
|
||||
child = subprocess.Popen(command, stdout=output, stderr=subprocess.STDOUT)
|
||||
stopped = False
|
||||
next_control_check = 0.0
|
||||
deadline = time.monotonic() + 300 + run["request"]["max_steps"] * 15
|
||||
while (
|
||||
child.poll() is None and not lost.is_set() and time.monotonic() < deadline
|
||||
child.poll() is None and not lost.is_set()
|
||||
):
|
||||
if time.monotonic() >= next_control_check:
|
||||
state = client.request("/runs/" + run["run_id"])
|
||||
|
||||
Reference in New Issue
Block a user