Skip to content

Commit 2735540

Browse files
committed
chore: increase axios timeout to 30 minutes
--bug=1062162 --user=刘瑞斌 【github#3995】当知识库数据量过大时,导出excel或导出zip会超时报错 https://www.tapd.cn/62980211/s/1778654
1 parent b879f3a commit 2735540

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/request/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { ref, type WritableComputedRef } from 'vue'
1111
const axiosConfig = {
1212
baseURL: (window.MaxKB?.prefix ? window.MaxKB?.prefix : '/admin') + '/api',
1313
withCredentials: false,
14-
timeout: 600000,
14+
timeout: 1800000, // 30分钟 timeout
1515
headers: {},
1616
}
1717

0 commit comments

Comments
 (0)