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