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():