mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Merge pull request #3473 from matrix-org/erikj/thread_cache
Invalidate cache on correct thread
This commit is contained in:
commit
13f7adf84b
1
changelog.d/3473.bugfix
Normal file
1
changelog.d/3473.bugfix
Normal file
@ -0,0 +1 @@
|
||||
Invalidate cache on correct thread to avoid race
|
@ -801,7 +801,8 @@ class EventsStore(EventsWorkerStore):
|
||||
]
|
||||
)
|
||||
|
||||
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,
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user