0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-06-01 03:59:03 +02:00
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,