mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-23 17:39:27 -05:00
0d1d3e0708
Fixes #11887 hopefully. The core change here is that `event_push_summary` now holds a summary of counts up until a much more recent point, meaning that the range of rows we need to count in `event_push_actions` is much smaller. This needs two major changes: 1. When we get a receipt we need to recalculate `event_push_summary` rather than just delete it 2. The logic for deleting `event_push_actions` is now divorced from calculating `event_push_summary`. In future it would be good to calculate `event_push_summary` while we persist a new event (it should just be a case of adding one to the relevant rows in `event_push_summary`), as that will further simplify the get counts logic and remove the need for us to periodically update `event_push_summary` in a background job. |
||
---|---|---|
.. | ||
__init__.py | ||
export_signing_key.py | ||
generate_config.py | ||
generate_log_config.py | ||
generate_signing_key.py | ||
hash_password.py | ||
move_remote_media_to_new_store.py | ||
register_new_matrix_user.py | ||
review_recent_signups.py | ||
synapse_port_db.py | ||
synctl.py | ||
update_synapse_database.py |