Commit fb8a1183 by mushishixian

优化性能

parent d9150ce3
Showing with 1 additions and 1 deletions
......@@ -53,7 +53,7 @@ func MatchGoods(message model.BomMessage) (err error) {
} else {
bomData = bomItems[i : i+perGoDealNumber]
}
time.Sleep(100 * time.Millisecond)
time.Sleep(300 * time.Millisecond)
go func() {
if len(bomData) != 0 {
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