1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-31 14:08:06 +08:00

fix: 解决app安装过程中点同步锁库的问题

This commit is contained in:
zhengkunwang223 2023-02-22 14:12:21 +08:00 committed by zhengkunwang223
parent fcac00b49f
commit ee941b09c2

View File

@ -213,6 +213,9 @@ func (a AppInstallService) SyncAll() error {
}
go func() {
for _, i := range allList {
if i.Status == constant.Installing {
continue
}
if err := syncById(i.ID); err != nil {
global.LOG.Errorf("sync install app[%s] error,mgs: %s", i.Name, err.Error())
}