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

Conversation

@clokep
Copy link
Member

@clokep clokep commented Oct 31, 2023

I think this is safe to do -- instead of updating the stream cache (which is somewhat expensive) for each persisted event, only do it for the maximum stream ordering being persisted.

Based on #16584.

@clokep clokep force-pushed the clokep/persist-single-room branch from db97d2e to 3157522 Compare October 31, 2023 19:01
@clokep clokep force-pushed the clokep/less-stream-cache branch from 6b98ace to 8ba0c21 Compare October 31, 2023 19:04
@clokep clokep marked this pull request as ready for review October 31, 2023 19:30
@clokep clokep requested a review from a team as a code owner October 31, 2023 19:30
@clokep clokep requested a review from erikjohnston November 2, 2023 12:03
@clokep clokep merged commit a576fa3 into clokep/persist-single-room Nov 2, 2023
@clokep clokep deleted the clokep/less-stream-cache branch November 2, 2023 13:41
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.

3 participants