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