From d6290efb18899499d43bf356d124ca17be10fe14 Mon Sep 17 00:00:00 2001 From: Matthias Guillitte Date: Mon, 27 Jul 2026 17:31:44 +0200 Subject: [PATCH] Longer timeout --- orchestrateur/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orchestrateur/main.py b/orchestrateur/main.py index dcabff6..0baa555 100644 --- a/orchestrateur/main.py +++ b/orchestrateur/main.py @@ -204,7 +204,7 @@ def _cooking_worker(microwave_id: str, sensors_data: dict, cancel_event: threadi sensors_data["camera_image"] = base64.b64encode(sensors_data["camera_image"]).decode("utf-8") # 1. HTTP Request (15-second timeout) - response = requests.post(URL, json=sensors_data, timeout=15) + response = requests.post(URL, json=sensors_data, timeout=360) # timeout for long-running requests # Check cancellation right after network call returns if cancel_event.is_set():