anonymousland-synapse/synapse/handlers
Erik Johnston c9dbee50ae
Fixup pusher pool notifications (#8287)
`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.
2020-09-09 16:56:08 +01:00
..
ui_auth Be stricter about JSON that is accepted by Synapse (#8106) 2020-08-19 07:26:03 -04:00
__init__.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
_base.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
account_data.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
account_validity.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
acme_issuing_service.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
acme.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
admin.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
appservice.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
auth.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
cas_handler.py Allow denying or shadow banning registrations via the spam checker (#8034) 2020-08-20 15:42:58 -04:00
deactivate_account.py Follow-up to admin API to re-activate accounts (#7908) 2020-07-22 12:33:19 -04:00
device.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
devicemessage.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
directory.py Stop shadow-banned users from sending non-member events. (#8142) 2020-08-24 13:58:56 -04:00
e2e_keys.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
e2e_room_keys.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
events.py Add type hints to more handlers (#8244) 2020-09-03 22:02:29 +01:00
federation.py Fixup pusher pool notifications (#8287) 2020-09-09 16:56:08 +01:00
groups_local.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
identity.py Be stricter about JSON that is accepted by Synapse (#8106) 2020-08-19 07:26:03 -04:00
initial_sync.py Clean up types for PaginationConfig (#8250) 2020-09-08 15:00:17 +01:00
message.py Fixup pusher pool notifications (#8287) 2020-09-09 16:56:08 +01:00
oidc_handler.py Ensure that the OpenID Connect remote ID is a string. (#8190) 2020-08-28 08:56:36 -04:00
pagination.py Fix mypy error on develop (#8282) 2020-09-08 17:43:31 +01:00
password_policy.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
presence.py Clean up types for PaginationConfig (#8250) 2020-09-08 15:00:17 +01:00
profile.py Fix errors when updating the user directory with invalid data (#8223) 2020-09-01 13:02:41 -04:00
read_marker.py Port receipt and read markers to async/wait 2019-10-29 15:08:22 +00:00
receipts.py Clean up types for PaginationConfig (#8250) 2020-09-08 15:00:17 +01:00
register.py Allow denying or shadow banning registrations via the spam checker (#8034) 2020-08-20 15:42:58 -04:00
room_list.py Convert room list handler to async/await. (#7912) 2020-07-21 07:51:48 -04:00
room_member_worker.py update_membership declaration: now always returns an event id. (#7809) 2020-07-09 13:01:42 +01:00
room_member.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
room.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
saml_handler.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
search.py Convert streams to async. (#8014) 2020-08-04 07:21:47 -04:00
set_password.py Hash passwords earlier in the password reset process (#7538) 2020-05-20 09:48:03 -04:00
state_deltas.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
stats.py Prevent join->join membership transitions changing member count (#7977) 2020-08-03 21:54:24 +01:00
sync.py Add types to StreamToken and RoomStreamToken (#8279) 2020-09-08 16:48:15 +01:00
typing.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
user_directory.py Fix errors when updating the user directory with invalid data (#8223) 2020-09-01 13:02:41 -04:00