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

Invalidate cache on correct thread #3473

Merged
merged 3 commits into from Jul 4, 2018
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Empty file added changelog.d/3473.misc
Empty file.
3 changes: 2 additions & 1 deletion synapse/storage/events.py
Expand Up @@ -801,7 +801,8 @@ def _update_current_state_txn(self, txn, state_delta_by_room, max_stream_order):
]
)

self._curr_state_delta_stream_cache.entity_has_changed(
txn.call_after(
self._curr_state_delta_stream_cache.entity_has_changed,
room_id, max_stream_order,
)

Expand Down