MatrixSynapse/synapse/push
Erik Johnston 5442891cbc
Make push rules use proper structures. (#13522)
This improves load times for push rules:

| Version              | Time per user | Time for 1k users | 
| -------------------- | ------------- | ----------------- |
| Before               |       138 µs  |             138ms |
| Now (with custom)    |       2.11 µs |            2.11ms |
| Now (without custom) |       49.7 ns |           0.05 ms |

This therefore has a large impact on send times for rooms
with large numbers of local users in the room.
2022-08-16 12:22:17 +01:00
..
__init__.py Remove unneeded `ActionGenerator` class. (#12691) 2022-05-11 07:15:21 -04:00
baserules.py Make push rules use proper structures. (#13522) 2022-08-16 12:22:17 +01:00
bulk_push_rule_evaluator.py Make push rules use proper structures. (#13522) 2022-08-16 12:22:17 +01:00
clientformat.py Make push rules use proper structures. (#13522) 2022-08-16 12:22:17 +01:00
emailpusher.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
httppusher.py Rename storage classes (#12913) 2022-05-31 12:17:50 +00:00
mailer.py Move the "email unsubscribe" resource, refactor the macaroon generator & simplify the access token verification logic. (#12986) 2022-06-14 09:12:08 -04:00
presentable_names.py Use inline type hints in various other places (in `synapse/`) (#10380) 2021-07-15 11:02:43 +01:00
push_rule_evaluator.py Make push rules use proper structures. (#13522) 2022-08-16 12:22:17 +01:00
push_tools.py Speed up `get_unread_event_push_actions_by_room` (#13005) 2022-06-15 15:17:14 +00:00
push_types.py Improved push typing (#11409) 2021-11-30 11:49:20 +00:00
pusher.py Use direct references for some configuration variables (part 3) (#10885) 2021-09-23 07:13:34 -04:00
pusherpool.py Fix overcounting of pushers when they are replaced (#13296) 2022-07-18 17:39:39 +01:00
rulekinds.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00