forked from MirrorHub/synapse
`pusher_pool.on_new_notifications` expected a min and max stream ID, however that was not what we were passing in. Instead, let's just pass it the current max stream ID and have it track the last stream ID it got passed. I believe that it mostly worked as we called the function for every event. However, it would break for events that got persisted out of order, i.e, that were persisted but the max stream ID wasn't incremented as not all preceding events had finished persisting, and push for that event would be delayed until another event got pushed to the effected users. |
||
---|---|---|
.. | ||
__init__.py | ||
test_admin.py | ||
test_appservice.py | ||
test_auth.py | ||
test_device.py | ||
test_directory.py | ||
test_e2e_keys.py | ||
test_e2e_room_keys.py | ||
test_federation.py | ||
test_oidc.py | ||
test_presence.py | ||
test_profile.py | ||
test_register.py | ||
test_stats.py | ||
test_sync.py | ||
test_typing.py | ||
test_user_directory.py |