mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-10 12:02:43 +01: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue