Skip to content

Commit 93ea9aa

Browse files
committed
fix(controller): remove timeout on container launch
We can't reliably guess how long this will take.
1 parent f030781 commit 93ea9aa

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

controller/scheduler/fleet.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,8 @@ def _do_ssh(cmd):
257257
return rc, output
258258

259259
# wait for container to launch
260-
for _ in range(60):
260+
# we loop indefinitely here, as we have no idea how long the docker pull will take
261+
while True:
261262
rc, _ = _do_ssh('docker inspect {name}'.format(**locals()))
262263
if rc == 0:
263264
break

0 commit comments

Comments
 (0)