0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-07-06 11:18:47 +02:00
synapse/changelog.d
Andrew Morgan 0a363f9ca4
Remove cache for get_shared_rooms_for_users (#9416)
This PR remove the cache for the `get_shared_rooms_for_users` storage method (the db method driving the experimental "what rooms do I share with this user?" feature: [MSC2666](https://github.com/matrix-org/matrix-doc/pull/2666)). Currently subsequent requests to the endpoint will return the same result, even if your shared rooms with that user have changed.

The cache was added in https://github.com/matrix-org/synapse/pull/7785, but we forgot to ensure it was invalidated appropriately.

Upon attempting to invalidate it, I found that the cache had to be entirely invalidated whenever a user (remote or local) joined or left a room. This didn't make for a very useful cache, especially for a function that may or may not be called very often. Thus, I've opted to remove it instead of invalidating it.
2021-02-22 16:52:45 +00:00
..
.gitignore Correct attrs package name in requirements (#3492) 2018-07-07 10:46:59 +10:00
8957.feature Ratelimit cross-user key sharing requests. (#8957) 2021-02-19 13:20:34 -05:00
9203.feature Add configs to make profile data more private (#9203) 2021-02-19 09:50:41 +00:00
9383.feature Add a config option to prioritise local users in user directory search results (#9383) 2021-02-19 11:02:03 +00:00
9385.feature Clean up the user directory sample config section (#9385) 2021-02-22 11:44:31 +00:00
9402.bugfix Be smarter about which hosts to send presence to when processing room joins (#9402) 2021-02-19 11:37:29 +00:00
9416.bugfix Remove cache for get_shared_rooms_for_users (#9416) 2021-02-22 16:52:45 +00:00
9432.misc Add documentation and type hints to parse_duration. (#9432) 2021-02-19 08:32:21 -05:00
9438.feature Newsfile 2021-02-18 17:05:32 +00:00
9440.bugfix Support not providing an IdP icon when choosing a username. (#9440) 2021-02-19 07:48:46 -05:00