synapse-product/synapse/app
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 Use importlib.metadata to read requirements (#12088) 2022-03-01 17:44:41 +00:00
_base.py Remove legacy Prometheus metrics names. They were deprecated in Synapse v1.69.0 and disabled by default in Synapse v1.71.0. (#14538) 2022-11-24 09:09:17 +00:00
admin_cmd.py Add more user information to export-data command. (#14894) 2023-02-01 15:45:19 +00:00
appservice.py Refactor entry points so that they all have a main function. (#13052) 2022-06-14 17:41:06 +00:00
client_reader.py Refactor entry points so that they all have a main function. (#13052) 2022-06-14 17:41:06 +00:00
complement_fork_starter.py Allow enabling the asyncio reactor in complement (#14858) 2023-02-01 23:42:45 +00:00
event_creator.py Refactor entry points so that they all have a main function. (#13052) 2022-06-14 17:41:06 +00:00
federation_reader.py Refactor entry points so that they all have a main function. (#13052) 2022-06-14 17:41:06 +00:00
federation_sender.py Refactor entry points so that they all have a main function. (#13052) 2022-06-14 17:41:06 +00:00
frontend_proxy.py Refactor entry points so that they all have a main function. (#13052) 2022-06-14 17:41:06 +00:00
generic_worker.py Enable Faster Remote Room Joins against worker-mode Synapse. (#14752) 2023-01-22 21:10:11 +00:00
homeserver.py Add listener health (#14747) 2023-01-11 12:00:38 +00:00
media_repository.py Refactor entry points so that they all have a main function. (#13052) 2022-06-14 17:41:06 +00:00
phone_stats_home.py Return read-only collections from @cached methods (#13755) 2023-02-10 23:29:00 +00:00
pusher.py Refactor entry points so that they all have a main function. (#13052) 2022-06-14 17:41:06 +00:00
synchrotron.py Refactor entry points so that they all have a main function. (#13052) 2022-06-14 17:41:06 +00:00
user_dir.py Refactor entry points so that they all have a main function. (#13052) 2022-06-14 17:41:06 +00:00