mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Don't bother sorting by the room_stream_ids, it shouldn't matter which order they are notified in
This commit is contained in:
parent
0b0033c40b
commit
ad31fa3040
@ -203,7 +203,7 @@ class Notifier(object):
|
||||
max_room_stream_id(int): The highest stream_id below which all
|
||||
events have been persisted.
|
||||
"""
|
||||
pending = sorted(self.pending_new_room_events)
|
||||
pending = self.pending_new_room_events
|
||||
self.pending_new_room_events = []
|
||||
for room_stream_id, event, extra_users in pending:
|
||||
if room_stream_id > max_room_stream_id:
|
||||
|
Loading…
Reference in New Issue
Block a user