fix: 应用恢复后自动同步数据库 (#1816)

pull/1817/head
ssongliu 2023-08-03 10:42:13 +08:00 committed by GitHub
parent c7e7629d85
commit e4462c06fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -202,6 +202,7 @@ func handleAppRecover(install *model.AppInstall, recoverFile string, isRollback
global.LOG.Errorf("handle recover from sql.gz failed, err: %v", err)
return err
}
_ = NewIMysqlService().LoadFromRemote("local")
}
if err := handleUnTar(tmpPath+"/app.tar.gz", fmt.Sprintf("%s/%s", constant.AppInstallDir, install.App.Key)); err != nil {