perf: client 请求超时时间延长为10s

pull/189/head
xiaojunnuo 2024-09-03 22:09:48 +08:00
parent 87a2673e8c
commit ff46771d8d
2 changed files with 1 additions and 2 deletions

@ -1 +0,0 @@
Subproject commit d1df93c12ebe9d0a2002f417813ccf2e14584e99

View File

@ -112,7 +112,7 @@ function createRequestFunction(service: any) {
headers: { headers: {
"Content-Type": get(config, "headers.Content-Type", "application/json") "Content-Type": get(config, "headers.Content-Type", "application/json")
}, },
timeout: 5000, timeout: 10000,
baseURL: env.API, baseURL: env.API,
data: {} data: {}
}; };