Wait for FLUX worker readiness

This commit is contained in:
Mikei386
2026-08-22 18:12:48 +02:00
parent b00e882063
commit 69f18f42d1
+1 -1
View File
@@ -741,7 +741,7 @@ class _RemoteWorker:
self._request("GET", "/health", timeout=3)
self.running = True
return
except (OSError, urllib.error.URLError, TimeoutError):
except (OSError, urllib.error.URLError, TimeoutError, RuntimeError):
time.sleep(1)
self.stop()
raise RuntimeError("Bild-Worker hat nicht gestartet")