From 76defbb1c2c7148d391f6055a9a41041e42cda77 Mon Sep 17 00:00:00 2001 From: Abi Raja Date: Tue, 17 Sep 2024 17:45:54 +0200 Subject: [PATCH] bump timeout on storing generations request --- backend/routes/logging_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/routes/logging_utils.py b/backend/routes/logging_utils.py index 9cebc79..45996cc 100644 --- a/backend/routes/logging_utils.py +++ b/backend/routes/logging_utils.py @@ -51,7 +51,7 @@ async def send_to_saas_backend( "Authorization": f"Bearer {auth_token}", # Add the auth token to the headers } - response = await client.post(url, content=data, headers=headers) + response = await client.post(url, content=data, headers=headers, timeout=10) response.raise_for_status() response_data = response.json() return response_data