fix: 修改请求超时时间为30秒
This commit is contained in:
1 parent
0f94a5b80d
commit
fc40451b50
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 = 10 * 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