wangchuanjin 1 жил өмнө
parent
commit
ce01b0fb45

+ 2 - 0
common/src/qfw/util/dataexport/dataexport.go

@@ -1080,6 +1080,8 @@ func FormatExportData(entmg mg.MongodbSim, data *[]map[string]interface{}, webdo
 	wait := &sync.WaitGroup{}
 	lock := &sync.Mutex{}
 	for index := 0; index < len(*data); index++ {
+		pool <- true
+		wait.Add(1)
 		go func(v map[string]interface{}) {
 			defer qutil.Catch()
 			defer func() {