fix: 优化请求超时配置

This commit is contained in:
shaw
2025-09-08 16:34:12 +08:00
parent 399e6b9d8c
commit fec80a16fa
7 changed files with 19 additions and 12 deletions

View File

@@ -34,11 +34,14 @@ CLAUDE_API_VERSION=2023-06-01
CLAUDE_BETA_HEADER=claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,fine-grained-tool-streaming-2025-05-14
# 🌐 代理配置
DEFAULT_PROXY_TIMEOUT=60000
DEFAULT_PROXY_TIMEOUT=600000
MAX_PROXY_RETRIES=3
# IP协议族配置true=IPv4, false=IPv6, 默认IPv4兼容性更好
PROXY_USE_IPV4=true
# ⏱️ 请求超时配置
REQUEST_TIMEOUT=600000 # 请求超时设置毫秒默认10分钟
# 📈 使用限制
DEFAULT_TOKEN_LIMIT=1000000