Wait for FLUX worker readiness

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