Fix: Resolved unInstall app failed due to run compose down timeout (#9436)

This commit is contained in:
CityFun
2025-07-07 04:03:49 +00:00
committed by GitHub
parent 9974c5fa20
commit e2b6ea5253
+1 -1
View File
@@ -31,7 +31,7 @@ func Down(filePath string) (string, error) {
if err := checkCmd(); err != nil {
return "", err
}
stdout, err := cmd.RunDefaultWithStdoutBashCf(global.CONF.DockerConfig.Command+" -f %s down --remove-orphans", filePath)
stdout, err := cmd.RunDefaultWithStdoutBashCfAndTimeOut(global.CONF.DockerConfig.Command+" -f %s down --remove-orphans", 20*time.Minute, filePath)
return stdout, err
}