mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-27 05:55:17 -04:00
Optimise get_rooms_for_user (drop with_stream_ordering) (#13787)
This commit is contained in:
parent
be76cd8200
commit
a466164647
7 changed files with 66 additions and 75 deletions
|
@ -205,6 +205,7 @@ class CacheInvalidationWorkerStore(SQLBaseStore):
|
|||
self.get_rooms_for_user_with_stream_ordering.invalidate(
|
||||
(data.state_key,)
|
||||
)
|
||||
self.get_rooms_for_user.invalidate((data.state_key,))
|
||||
else:
|
||||
raise Exception("Unknown events stream row type %s" % (row.type,))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue