From 2735540dd6c4495332161865a984c64010b7e5ae Mon Sep 17 00:00:00 2001 From: CaptainB Date: Thu, 25 Sep 2025 10:13:08 +0800 Subject: [PATCH] chore: increase axios timeout to 30 minutes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1062162 --user=刘瑞斌 【github#3995】当知识库数据量过大时,导出excel或导出zip会超时报错 https://www.tapd.cn/62980211/s/1778654 --- ui/src/request/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/request/index.ts b/ui/src/request/index.ts index f969956ac..4e3ee5477 100644 --- a/ui/src/request/index.ts +++ b/ui/src/request/index.ts @@ -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: {}, }