From 754ac64bf6203cc18463f47e7532b790140c3cde Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Wed, 18 Jun 2025 11:50:56 +0800 Subject: [PATCH] fix: Increase the timeout period of the swap setting (#9162) Refs #9142 --- frontend/src/api/modules/toolbox.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/api/modules/toolbox.ts b/frontend/src/api/modules/toolbox.ts index 0c3560aac..99489f35f 100644 --- a/frontend/src/api/modules/toolbox.ts +++ b/frontend/src/api/modules/toolbox.ts @@ -25,7 +25,7 @@ export const updateDevicePasswd = (user: string, passwd: string) => { return http.post(`/toolbox/device/update/passwd`, { user: user, passwd: Base64.encode(passwd) }, TimeoutEnum.T_60S); }; export const updateDeviceSwap = (params: Toolbox.SwapHelper) => { - return http.post(`/toolbox/device/update/swap`, params, TimeoutEnum.T_60S); + return http.post(`/toolbox/device/update/swap`, params, TimeoutEnum.T_10M); }; export const updateDeviceByConf = (name: string, file: string) => { return http.post(`/toolbox/device/update/byconf`, { name: name, file: file }, TimeoutEnum.T_5M);