This commit is contained in:
Kegan Dougal 2021-07-08 16:36:51 +01:00
parent 816e1a402b
commit 23ce334182
2 changed files with 2 additions and 0 deletions

View file

@ -194,6 +194,7 @@ func (s *OutputRoomEventConsumer) onNewRoomEvent(
sentry.CaptureException(err)
return err
}
log.Infof("onNewRoomEvent -> %d: %+v", pduPos, msg)
s.pduStream.Advance(pduPos)
s.notifier.OnNewEvent(ev, ev.RoomID(), nil, types.StreamingToken{PDUPosition: pduPos})

View file

@ -244,6 +244,7 @@ func (rp *RequestPool) OnIncomingSyncRequest(req *http.Request, device *userapi.
),
}
}
syncReq.Log.Infof("%s->%s : %+v", syncReq.Since, syncReq.Response.NextBatch, syncReq.Response)
return util.JSONResponse{
Code: http.StatusOK,