Ver Fonte

Merge branch 'eta/1.5.1'

Roc há 1 ano atrás
pai
commit
e9376e0ede
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      services/edb_refresh.go

+ 4 - 0
services/edb_refresh.go

@@ -49,6 +49,10 @@ func ConfigRefreshData(cont context.Context) (err error) {
 	wg.Add(wgNum)
 
 	for _, edbList := range allSourceEdbInfoListMap {
+		if edbList == nil {
+			wg.Done()
+			continue
+		}
 		go BaseRefreshData(&wg, edbList[0].Source, edbList[0].SubSource, edbList)
 	}