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

Avoid sending massive replication updates when purging a room. #16510

Merged
merged 5 commits into from
Oct 18, 2023

Conversation

clokep
Copy link
Member

@clokep clokep commented Oct 17, 2023

When purging a room it doesn't make sense to send every individual update, we can combine them into a "all state is invalid for this room".

As it is hard to mark the room as "being purged" we do this whenever there's many state updates in the room. This should also cover any other unforeseen replication updates with massive amounts of state.

@clokep clokep marked this pull request as ready for review October 17, 2023 15:41
@clokep clokep requested a review from a team as a code owner October 17, 2023 15:41
@clokep clokep requested review from erikjohnston and removed request for a team October 17, 2023 15:41
@clokep clokep merged commit 49c9745 into develop Oct 18, 2023
38 checks passed
@clokep clokep deleted the clokep/repl-purge branch October 18, 2023 16:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants