|
@@ -23,7 +23,7 @@ func dealWithCompanyProductInfo() {
|
|
|
defer class.Save_Mgo.DestoryMongoConn(sess)
|
|
|
q := map[string]interface{}{}
|
|
|
it := sess.DB(class.Save_Mgo.DbName).C(class.S_Company_Coll).Find(&q).Sort("_id").Iter()
|
|
|
- pool := make(chan bool, 6)
|
|
|
+ pool := make(chan bool, 5)
|
|
|
wg := &sync.WaitGroup{}
|
|
|
total, isok1, isok2 := 0, 0, 0
|
|
|
for tmp := make(map[string]interface{}); it.Next(&tmp); total++ {
|