mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-02-08 01:20:07 +08:00
fix: 解决app安装过程中点同步锁库的问题
This commit is contained in:
parent
fcac00b49f
commit
ee941b09c2
@ -213,6 +213,9 @@ func (a AppInstallService) SyncAll() error {
|
|||||||
}
|
}
|
||||||
go func() {
|
go func() {
|
||||||
for _, i := range allList {
|
for _, i := range allList {
|
||||||
|
if i.Status == constant.Installing {
|
||||||
|
continue
|
||||||
|
}
|
||||||
if err := syncById(i.ID); err != nil {
|
if err := syncById(i.ID); err != nil {
|
||||||
global.LOG.Errorf("sync install app[%s] error,mgs: %s", i.Name, err.Error())
|
global.LOG.Errorf("sync install app[%s] error,mgs: %s", i.Name, err.Error())
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user