-
Notifications
You must be signed in to change notification settings - Fork 410
Fix performance regression related to delayed events processing #18926
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
fadb7eb
Add a storage function to pull out senders for event _ids
anoadragon453 e3ad18c
Stop calling `get_event` and use new storage function
anoadragon453 9f1c7e3
Only schedule next delayed event once
anoadragon453 76b885b
Bail out early if there are no delayed events to send
anoadragon453 a0faac9
newsfile
anoadragon453 8d97548
Note 100 row limit in docstrings
anoadragon453 d1974a2
Note that order of fetching stream orderings is important
anoadragon453 4ff8184
link MSC4140 in newsfile
anoadragon453 68fb552
More error handling
anoadragon453 1eb25f1
Revert "Only schedule next delayed event once"
anoadragon453 ef38b2e
Prevent potential infinite loop if we bypass the max
anoadragon453 a67b036
logger.error for missing sender
anoadragon453 b4877a6
state reset TODO
anoadragon453 6eaf31e
Add a test for `get_senders_for_event_ids`
anoadragon453 3d44c99
Handle the case where a room has been purged
anoadragon453 af7962d
Update logging and TODO to discuss state resets
anoadragon453 17d2845
Move `Sentinel` to util module
anoadragon453 c732bba
Replace ad-hoc Sentinel usage with utility module
anoadragon453 8c427f2
Update logs and comments to better cover cases
anoadragon453 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.