MatrixSynapse/synapse/push
Sean Quah d0c713cc85
Return read-only collections from `@cached` methods (#13755)
It's important that collections returned from `@cached` methods are not
modified, otherwise future retrievals from the cache will return the
modified collection.

This applies to the return values from `@cached` methods and the values
inside the dictionaries returned by `@cachedList` methods. It's not
necessary for the dictionaries returned by `@cachedList` methods
themselves to be read-only.

Signed-off-by: Sean Quah <seanq@matrix.org>
Co-authored-by: David Robertson <davidr@element.io>
2023-02-10 23:29:00 +00:00
..
__init__.py Track device IDs for pushers (#13831) 2022-09-21 15:31:53 +00:00
bulk_push_rule_evaluator.py Return read-only collections from `@cached` methods (#13755) 2023-02-10 23:29:00 +00:00
clientformat.py Remove undocumented device from pushrules (#14727) 2023-01-09 17:17:24 +00:00
emailpusher.py
httppusher.py Implement push rule evaluation in Rust. (#13838) 2022-09-29 16:12:09 +01:00
mailer.py Move `StateFilter` to `synapse.types` (#14668) 2022-12-12 16:19:30 +00:00
presentable_names.py
push_tools.py Aggregate unread notif count query for badge count calculation (#14255) 2022-11-30 08:45:06 -05:00
push_types.py
pusher.py
pusherpool.py Track device IDs for pushers (#13831) 2022-09-21 15:31:53 +00:00
rulekinds.py