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

@@ -138,7 +138,7 @@ async function refreshAccessToken(refreshToken, proxy = null) {
'Content-Length': requestData.length
},
data: requestData,
timeout: 30000 // 30秒超时
timeout: config.requestTimeout || 600000 // 使用统一的请求超时配置
}
// 配置代理(如果有)