chore: increase axios timeout to 30 minutes
--bug=1062162 --user=刘瑞斌 【github#3995】当知识库数据量过大时,导出excel或导出zip会超时报错 https://www.tapd.cn/62980211/s/1778654v3.2
parent
b879f3a99e
commit
2735540dd6
|
|
@ -11,7 +11,7 @@ import { ref, type WritableComputedRef } from 'vue'
|
|||
const axiosConfig = {
|
||||
baseURL: (window.MaxKB?.prefix ? window.MaxKB?.prefix : '/admin') + '/api',
|
||||
withCredentials: false,
|
||||
timeout: 600000,
|
||||
timeout: 1800000, // 30分钟 timeout
|
||||
headers: {},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue