fix: timeouts

This commit is contained in:
Alpha Nerd 2026-05-05 09:18:19 +02:00
parent 1330a1068f
commit 4cfc98de9d
Signed by: alpha-nerd
SSH key fingerprint: SHA256:QkkAgVoYi9TQ0UKPkiKSfnerZy2h4qhi3SVPXJmBN+M

View file

@ -301,7 +301,7 @@ class SecureCompletionClient:
verify_ssl = self.router_url.startswith("https://")
async with httpx.AsyncClient(
timeout=60.0,
timeout=900.0,
verify=verify_ssl, # Verify SSL/TLS certificates for HTTPS
) as client:
response = await client.get(url)
@ -673,7 +673,7 @@ class SecureCompletionClient:
await asyncio.sleep(delay)
try:
async with httpx.AsyncClient(timeout=60.0) as client:
async with httpx.AsyncClient(timeout=900.0) as client:
response = await client.post(
url,
headers=headers,