mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
Change ZHIPU_MAX_LIMITS to 5. Fix issue 2323 (#2324)
This commit is contained in:
parent
2166473852
commit
07279558a5
|
@ -38,7 +38,7 @@ from httpx._config import DEFAULT_TIMEOUT_CONFIG as HTTPX_DEFAULT_TIMEOUT
|
|||
|
||||
ZHIPUAI_DEFAULT_TIMEOUT = httpx.Timeout(timeout=300.0, connect=8.0)
|
||||
ZHIPUAI_DEFAULT_MAX_RETRIES = 3
|
||||
ZHIPUAI_DEFAULT_LIMITS = httpx.Limits(max_connections=50, max_keepalive_connections=10)
|
||||
ZHIPUAI_DEFAULT_LIMITS = httpx.Limits(max_connections=5, max_keepalive_connections=5)
|
||||
|
||||
|
||||
class HttpClient:
|
||||
|
|
Loading…
Reference in New Issue
Block a user