summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2022-10-14 07:10:44 -0400
committerGitHub <noreply@github.com>2022-10-14 07:10:44 -0400
commit9ff4155f6cc9fc0b7aff82da9f0a1cae677dbda5 (patch)
tree41d739165efbe88cf9da4d72056026796c973a29 /synapse/storage
parentFix sqlite syntax for upserts. (#14171) (diff)
downloadsynapse-9ff4155f6cc9fc0b7aff82da9f0a1cae677dbda5.tar.xz
Properly invalidate get_thread_id cache. (#14163)
This was missed in 2b6d41ebd685fb546e52acdbcb0024dfcf5a5db1 (#13824).
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/databases/main/cache.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/databases/main/cache.py b/synapse/storage/databases/main/cache.py
index 0ce3156c9c..b47fc606c7 100644
--- a/synapse/storage/databases/main/cache.py
+++ b/synapse/storage/databases/main/cache.py
@@ -244,6 +244,7 @@ class CacheInvalidationWorkerStore(SQLBaseStore):
             # redacted.
             self._attempt_to_invalidate_cache("get_relations_for_event", (redacts,))
             self._attempt_to_invalidate_cache("get_applicable_edit", (redacts,))
+            self._attempt_to_invalidate_cache("get_thread_id", (redacts,))
 
         if etype == EventTypes.Member:
             self._membership_stream_cache.entity_has_changed(state_key, stream_ordering)