fix: 修改请求超时时间为30秒
This commit is contained in:
@@ -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