mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-17 10:57:24 +08:00
fix: Increase the timeout period of the swap setting (#9162)
Refs #9142
This commit is contained in:
parent
3b37d5ae72
commit
754ac64bf6
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue