mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-17 03:43:11 -06:00
spurious logging
This commit is contained in:
parent
6063a8497c
commit
a2d62fbb1b
|
|
@ -191,14 +191,10 @@ func (r *messagesReq) retrieveEvents() (
|
|||
var streamEvents []types.StreamEvent
|
||||
if r.fromStream != nil {
|
||||
toStream := r.to.StreamToken()
|
||||
util.GetLogger(r.ctx).Infof("quack fromStream positions %v", r.fromStream.Positions)
|
||||
util.GetLogger(r.ctx).Infof("quack toStream positions %v", toStream.Positions)
|
||||
streamEvents, err = r.db.GetEventsInStreamingRange(
|
||||
r.ctx, r.fromStream, &toStream, r.roomID, r.limit, r.backwardOrdering,
|
||||
)
|
||||
} else {
|
||||
util.GetLogger(r.ctx).Infof("quack from positions %v", r.from.Positions)
|
||||
util.GetLogger(r.ctx).Infof("quack to positions %v", r.to.Positions)
|
||||
streamEvents, err = r.db.GetEventsInTopologicalRange(
|
||||
r.ctx, r.from, r.to, r.roomID, r.limit, r.backwardOrdering,
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue