Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Log the stack when waiting for an entire room to be un-partial stated (
Browse files Browse the repository at this point in the history
…#13257)

The stack is already logged when waiting for an event to be un-partial
stated. Log the stack for rooms as well, to aid in debugging.
  • Loading branch information
squahtx authored Jul 12, 2022
1 parent 6f30eb5 commit 3f17833
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/13257.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Log the stack when waiting for an entire room to be un-partial stated.
1 change: 1 addition & 0 deletions synapse/storage/util/partial_state_events_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ async def await_full_state(self, room_id: str) -> None:
logger.info(
"Awaiting un-partial-stating of room %s",
room_id,
stack_info=True,
)

await make_deferred_yieldable(d)
Expand Down

0 comments on commit 3f17833

Please sign in to comment.