mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
b11f7b5122
The crux of the change is to try and make the queries simpler and pull out fewer rows. Before, there were quite a few joins against subqueries, which caused postgres to pull out more rows than necessary. Instead, let's simplify the query and do some of the filtering out in Python instead, letting Postgres do better optimizations now that it doesn't have to deal with joins against subqueries. Review note: this is a complete rewrite of the function, so not sure how useful the diff is. --------- Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> |
||
---|---|---|
.. | ||
__init__.py | ||
bulk_push_rule_evaluator.py | ||
clientformat.py | ||
emailpusher.py | ||
httppusher.py | ||
mailer.py | ||
presentable_names.py | ||
push_tools.py | ||
push_types.py | ||
pusher.py | ||
pusherpool.py | ||
rulekinds.py |