mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
bbgo: change pending update log level to info
This commit is contained in:
parent
3cfc810f8d
commit
fe9dc9a79d
|
@ -268,7 +268,7 @@ func (b *ActiveOrderBook) Update(order types.Order) {
|
||||||
|
|
||||||
b.mu.Lock()
|
b.mu.Lock()
|
||||||
if !b.orders.Exists(order.OrderID) {
|
if !b.orders.Exists(order.OrderID) {
|
||||||
log.Infof("[ActiveOrderBook] order #%d %s does not exist, adding it to pending order update", order.OrderID, order.Status)
|
log.Debugf("[ActiveOrderBook] order #%d %s does not exist, adding it to pending order update", order.OrderID, order.Status)
|
||||||
b.pendingOrderUpdates.Add(order)
|
b.pendingOrderUpdates.Add(order)
|
||||||
b.mu.Unlock()
|
b.mu.Unlock()
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue
Block a user