forked from MirrorHub/synapse
parent
64c73c6ac8
commit
a711ae78a8
2 changed files with 10 additions and 0 deletions
1
changelog.d/12068.misc
Normal file
1
changelog.d/12068.misc
Normal file
|
@ -0,0 +1 @@
|
|||
Add some logging to `/sync` to try and track down #11916.
|
|
@ -697,6 +697,15 @@ class SyncHandler:
|
|||
else:
|
||||
# no events in this room - so presumably no state
|
||||
state = {}
|
||||
|
||||
# (erikj) This should be rarely hit, but we've had some reports that
|
||||
# we get more state down gappy syncs than we should, so let's add
|
||||
# some logging.
|
||||
logger.info(
|
||||
"Failed to find any events in room %s at %s",
|
||||
room_id,
|
||||
stream_position.room_key,
|
||||
)
|
||||
return state
|
||||
|
||||
async def compute_summary(
|
||||
|
|
Loading…
Reference in a new issue