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

Commit

Permalink
Correctly invalidate is_partial_state_event cache
Browse files Browse the repository at this point in the history
Forgot this in #12394.
  • Loading branch information
richvdh committed Apr 13, 2022
1 parent 0922462 commit 87e4907
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions synapse/storage/databases/main/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ def _update_state_for_partial_state_event_txn(
)

# TODO(faster_joins): need to do something about workers here
txn.call_after(self.is_partial_state_event.invalidate, (event.event_id,))
txn.call_after(
self._get_state_group_for_event.prefill,
(event.event_id,),
Expand Down

0 comments on commit 87e4907

Please sign in to comment.