Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5a1a412

Browse filesBrowse files
chore(internal): change default timeout to an int (openai#2079)
1 parent c27e8cc commit 5a1a412
Copy full SHA for 5a1a412

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/openai/_constants.py

Copy file name to clipboardExpand all lines: src/openai/_constants.py
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.