mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-25 20:59:23 -05: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