Skip to content

Commit 2ae9662

Browse files
authored
Merge pull request #108 from scaleapi/jason/fix-limits
Update limits
2 parents 92149ce + 1e92074 commit 2ae9662

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/agentex/_constants.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
OVERRIDE_CAST_TO_HEADER = "____stainless_override_cast_to"
77

88
# default timeout is 1 minute
9-
DEFAULT_TIMEOUT = httpx.Timeout(timeout=60, connect=5.0)
10-
DEFAULT_MAX_RETRIES = 2
11-
DEFAULT_CONNECTION_LIMITS = httpx.Limits(max_connections=100, max_keepalive_connections=20)
9+
DEFAULT_TIMEOUT = httpx.Timeout(timeout=300, connect=5.0)
10+
DEFAULT_MAX_RETRIES = 0
11+
DEFAULT_CONNECTION_LIMITS = httpx.Limits(max_connections=1000, max_keepalive_connections=1000)
1212

1313
INITIAL_RETRY_DELAY = 0.5
1414
MAX_RETRY_DELAY = 8.0

0 commit comments

Comments
 (0)