fix: 修改请求超时时间为30秒
This commit is contained in:
1 parent
cbc3bd345e
commit
8d8609d80c
1 file changed
+1
-1
@@ -29,7 +29,7 @@ export function createRetryOptions(config?: Partial<CreateAxiosDefaults>) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function createAxiosConfig(config?: Partial<CreateAxiosDefaults>) {
|
export function createAxiosConfig(config?: Partial<CreateAxiosDefaults>) {
|
||||||
const TEN_SECONDS = 60 * 1000;
|
const TEN_SECONDS = 30 * 1000;
|
||||||
|
|
||||||
const axiosConfig: CreateAxiosDefaults = {
|
const axiosConfig: CreateAxiosDefaults = {
|
||||||
timeout: TEN_SECONDS,
|
timeout: TEN_SECONDS,
|
||||||
|
|||||||
Reference in new issue
Block a user