mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-23 00:53:33 +00:00
fix: 优化请求超时配置
This commit is contained in:
@@ -138,7 +138,7 @@ async function refreshAccessToken(refreshToken, proxy = null) {
|
||||
'Content-Length': requestData.length
|
||||
},
|
||||
data: requestData,
|
||||
timeout: 30000 // 30秒超时
|
||||
timeout: config.requestTimeout || 600000 // 使用统一的请求超时配置
|
||||
}
|
||||
|
||||
// 配置代理(如果有)
|
||||
|
||||
Reference in New Issue
Block a user