synapse-old/synapse/push
Patrick Cloke fa907025f4
Remove manys calls to cursor_to_dict (#16431)
This avoids calling cursor_to_dict and then immediately
unpacking the values in the dict for other users. By not
creating the intermediate dictionary we can avoid allocating
the dictionary and strings for the keys, which should generally
be more performant.

Additionally this improves type hints by avoid Dict[str, Any]
dictionaries coming out of the database layer.
2023-10-05 11:07:38 -04:00
..
__init__.py Remove manys calls to cursor_to_dict (#16431) 2023-10-05 11:07:38 -04:00
bulk_push_rule_evaluator.py Return immutable objects for cachedList decorators (#16350) 2023-09-19 15:26:44 -04:00
clientformat.py push rules: fix internal conversion from _type to value (#15781) 2023-06-16 14:17:02 +02:00
emailpusher.py Some refactors around receipts stream (#16426) 2023-10-04 16:28:40 +01:00
httppusher.py Some refactors around receipts stream (#16426) 2023-10-04 16:28:40 +01:00
mailer.py Add the List-Unsubscribe header for notification emails. (#16274) 2023-09-11 09:49:48 -04:00
presentable_names.py
push_tools.py Fix push for invites received over federation (#15820) 2023-07-12 11:02:11 +00:00
push_types.py Improved push typing (#11409) 2021-11-30 11:49:20 +00:00
pusher.py
pusherpool.py Some refactors around receipts stream (#16426) 2023-10-04 16:28:40 +01:00
rulekinds.py