Browse Source

Merge branch 'eta/1.5.1'

Roc 1 năm trước cách đây
mục cha
commit
e9376e0ede
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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)
 	}