This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Prevent multiple device list updates from breaking a batch send #5156
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
93b1a2d
Prevent multiple device list updates from breaking a batch send
anoadragon453 0ee2a8b
Add changelog
anoadragon453 56cf3fb
GROUP BY in python
anoadragon453 a843676
lint
anoadragon453 80b6e1a
commit lint
anoadragon453 c988c1e
WIP
anoadragon453 7770494
Merge branch 'develop' into anoa/device_list_update_fixes
anoadragon453 0cb7a60
split _get_max_stream_id_for_devices_txn into 2 funcs
anoadragon453 2e5e32e
yield deferreds
anoadragon453 7684259
deferred and missing argument
anoadragon453 d9078b6
missed one
anoadragon453 a674d8c
and another
anoadragon453 84db73d
Address some comments and clean things up
anoadragon453 cf77343
lint
anoadragon453 fcda607
test progress
anoadragon453 69c0c1b
fix test
anoadragon453 06fa759
lint
anoadragon453 5c7bb2c
Don't break buildkite
anoadragon453 c674c95
logging not needed
anoadragon453 3dbb5f0
unnecessary line removal
anoadragon453 322e1a3
ok isort
anoadragon453 da6a2ad
address review comments. add more tests
anoadragon453 b536cdd
Merge branch 'develop' into anoa/device_list_update_fixes
anoadragon453 2231131
Remove debug logging
anoadragon453 0de7b17
minor tweaks
richvdh 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
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Prevent federation device list updates breaking when processing multiple updates at once. |
This file contains 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 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 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and here.
maybe we can get rid of
stream_id_cutoff
altogether, and just usenow_stream_id
?