From 6942ac8af70089d5b216d83305df7603fe52024e Mon Sep 17 00:00:00 2001 From: "TRISTAN VALENTIN (EXTERNAL)" Date: Thu, 16 Oct 2025 09:38:48 +0200 Subject: [PATCH] [FIX] add more time before timeout when lora are used (5s -> 5min) --- simpleai_base/comfyclient_pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simpleai_base/comfyclient_pipeline.py b/simpleai_base/comfyclient_pipeline.py index e508f3972..d1e9e76a6 100644 --- a/simpleai_base/comfyclient_pipeline.py +++ b/simpleai_base/comfyclient_pipeline.py @@ -25,7 +25,7 @@ def queue_prompt(prompt): p = {"prompt": prompt, "client_id": client_id} data = json.dumps(p).encode('utf-8') try: - with httpx.Client() as client: + with httpx.Client(timeout=httpx.Timeout(300.0)) as client: response = client.post("http://{}/prompt".format(server_address), data=data) return json.loads(response.read()) except httpx.RequestError as e: