mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-27 09:15:15 +00:00
bbgo: change pending update log level to info
This commit is contained in:
parent
ddaa8f7343
commit
dc1d20c3bc
|
@ -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