Skip to content

Commit 9e6e9aa

Browse files
committed
Remove timeouts from httpx_client.py
1 parent 4ced224 commit 9e6e9aa

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

sdks/python/src/opik/httpx_client.py

+1-8
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,7 @@
77

88
def get(workspace: str, api_key: Optional[str]) -> httpx.Client:
99
limits = httpx.Limits(keepalive_expiry=30)
10-
timeout = httpx.Timeout(
11-
connect=5.0, # Time to establish a connection
12-
read=5, # Time to wait for a response after request
13-
write=5, # Time to send data to the server
14-
pool=60.0, # Time a connection can remain idle in the pool
15-
)
16-
17-
client = httpx.Client(limits=limits, timeout=timeout)
10+
client = httpx.Client(limits=limits)
1811

1912
headers = _prepare_headers(workspace=workspace, api_key=api_key)
2013
client.headers.update(headers)

0 commit comments

Comments
 (0)