We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94cd528 commit 340d139Copy full SHA for 340d139
src/openai/_constants.py
@@ -8,7 +8,7 @@
8
# default timeout is 10 minutes
9
DEFAULT_TIMEOUT = httpx.Timeout(timeout=600.0, connect=5.0)
10
DEFAULT_MAX_RETRIES = 2
11
-DEFAULT_CONNECTION_LIMITS = httpx.Limits(max_connections=100, max_keepalive_connections=20)
+DEFAULT_CONNECTION_LIMITS = httpx.Limits(max_connections=1000, max_keepalive_connections=100)
12
13
INITIAL_RETRY_DELAY = 0.5
14
MAX_RETRY_DELAY = 8.0
0 commit comments