Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/19402.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Don't retry joining partial state rooms all at once on startup.
4 changes: 4 additions & 0 deletions synapse/handlers/federation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1788,6 +1788,10 @@ async def _resume_partial_state_room_sync(self) -> None:
room_id=room_id,
)

# We don't start all the partial state room syncs at once, to avoid
# overloading the process.
await self.clock.sleep(Duration(milliseconds=10))

def _start_partial_state_room_sync(
self,
initial_destination: str | None,
Expand Down
Loading