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

Update the stream_cache less often. #16586

Merged
merged 2 commits into from Nov 2, 2023

Conversation

clokep
Copy link
Contributor

@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 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 merged commit a576fa3 into clokep/persist-single-room Nov 2, 2023
38 checks passed
@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.

None yet

2 participants