Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d3df1c6

Browse files
stainless-app[bot]stainless-bot
authored andcommittedFeb 3, 2025
chore(internal): change default timeout to an int (#2079)
1 parent 688b223 commit d3df1c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/openai/_constants.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
OVERRIDE_CAST_TO_HEADER = "____stainless_override_cast_to"
77

88
# default timeout is 10 minutes
9-
DEFAULT_TIMEOUT = httpx.Timeout(timeout=600.0, connect=5.0)
9+
DEFAULT_TIMEOUT = httpx.Timeout(timeout=600, connect=5.0)
1010
DEFAULT_MAX_RETRIES = 2
1111
DEFAULT_CONNECTION_LIMITS = httpx.Limits(max_connections=1000, max_keepalive_connections=100)
1212

0 commit comments

Comments
 (0)
Please sign in to comment.