bump timeout on storing generations request

This commit is contained in:
Abi Raja 2024-09-17 17:45:54 +02:00
parent 1b37c4e063
commit 76defbb1c2

View File

@ -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