feat: 修改容器操作超时时间 (#6798)

Refs #6747
This commit is contained in:
ssongliu 2024-10-22 15:20:28 +08:00 committed by GitHub
parent 2458d60d80
commit 8cad47b29e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -43,7 +43,7 @@ export const containerRename = (params: Container.ContainerRename) => {
return http.post(`/containers/rename`, params);
};
export const containerOperator = (params: Container.ContainerOperate) => {
return http.post(`/containers/operate`, params);
return http.post(`/containers/operate`, params, TimeoutEnum.T_60S);
};
export const containerPrune = (params: Container.ContainerPrune) => {
return http.post<Container.ContainerPruneReport>(`/containers/prune`, params);