From 66832015ba9a0a018b875673955163a16db15906 Mon Sep 17 00:00:00 2001 From: aliel Date: Fri, 13 Jun 2025 21:44:07 +0200 Subject: [PATCH] fix: change runtime warmup timeout from 1s to 5s --- runtimes/aleph-debian-12-python/init1.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtimes/aleph-debian-12-python/init1.py b/runtimes/aleph-debian-12-python/init1.py index 905e12b3a..c1dbc27b5 100644 --- a/runtimes/aleph-debian-12-python/init1.py +++ b/runtimes/aleph-debian-12-python/init1.py @@ -396,9 +396,9 @@ async def run_executable_http(scope: dict) -> tuple[dict, dict, str, bytes | Non tries += 1 headers, body = await make_request(session, scope) except aiohttp.ClientConnectorError: - if tries > 20: + if tries > 10: headers, body = show_loading() - await asyncio.sleep(0.05) + await asyncio.sleep(0.5) output = "" # Process stdout is not captured per request output_data = None