mirror of https://github.com/certd/certd
perf: client 请求超时时间延长为10s
parent
87a2673e8c
commit
ff46771d8d
|
@ -1 +0,0 @@
|
||||||
Subproject commit d1df93c12ebe9d0a2002f417813ccf2e14584e99
|
|
|
@ -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: {}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue