mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
Compare commits
2 Commits
4a106ac2e2
...
cb0b6e88b4
Author | SHA1 | Date | |
---|---|---|---|
|
cb0b6e88b4 | ||
|
ed8d66cdef |
|
@ -115,8 +115,11 @@ func (q *AsyncTimeRangedBatchQuery) Query(ctx context.Context, ch interface{}, s
|
|||
}
|
||||
|
||||
if !sentAny {
|
||||
log.Debugf("batch querying %T: %d/%d records are not sent", q.Type, listLen, listLen)
|
||||
return
|
||||
// there are 2 reasons that records can not send
|
||||
// 1) duplicated record
|
||||
// 2) out-of-range record
|
||||
log.Debugf("batch querying %T: %d/%d records are not sent, continue to the next batch", q.Type, listLen, listLen)
|
||||
continue
|
||||
}
|
||||
}
|
||||
}()
|
||||
|
|
Loading…
Reference in New Issue
Block a user