Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 87e4907

Browse files
committed
Correctly invalidate is_partial_state_event cache
Forgot this in #12394.
1 parent 0922462 commit 87e4907

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

synapse/storage/databases/main/state.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ def _update_state_for_partial_state_event_txn(
396396
)
397397

398398
# TODO(faster_joins): need to do something about workers here
399+
txn.call_after(self.is_partial_state_event.invalidate, (event.event_id,))
399400
txn.call_after(
400401
self._get_state_group_for_event.prefill,
401402
(event.event_id,),

0 commit comments

Comments
 (0)