Commit 7a118f2e by mushishixian

性能

parent fb8a1183
Showing with 1 additions and 1 deletions
...@@ -53,7 +53,7 @@ func MatchGoods(message model.BomMessage) (err error) { ...@@ -53,7 +53,7 @@ func MatchGoods(message model.BomMessage) (err error) {
} else { } else {
bomData = bomItems[i : i+perGoDealNumber] bomData = bomItems[i : i+perGoDealNumber]
} }
time.Sleep(300 * time.Millisecond) time.Sleep(500 * time.Millisecond)
go func() { go func() {
if len(bomData) != 0 { if len(bomData) != 0 {
if err := SearchGoods(bomId, bomData, message.DeliveryType, message.Sort, &wg); err != nil { if err := SearchGoods(bomId, bomData, message.DeliveryType, message.Sort, &wg); err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment