Skip to content
This repository was archived by the owner on Jun 9, 2024. It is now read-only.

Commit 37e1ea0

Browse files
authored
Increase timeout to 10s to support sleepy lambdas (#2)
1 parent 65f2a9f commit 37e1ea0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pythonit_toolkit/service_client/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async def execute(
4242
self.jwt_secret, issuer=self.caller, audience=self.service_name
4343
)
4444

45-
async with httpx.AsyncClient() as client:
45+
async with httpx.AsyncClient(timeout=10) as client:
4646
response = await client.post(
4747
self.url,
4848
json={"query": document, "variables": variables},

0 commit comments

Comments
 (0)