diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-05-05 14:57:08 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-05-05 14:57:08 +0100 |
commit | a9aea68fd568182185e8d0ae478c56df8ac6be49 (patch) | |
tree | 5d20812a8ea5e727bf1d929cfbb1bc3dc9110eb2 /synapse/storage/state.py | |
parent | Sequence the modifications to the cache so that selects don't race with inserts (diff) | |
download | synapse-a9aea68fd568182185e8d0ae478c56df8ac6be49.tar.xz |
Invalidate the caches from the correct thread
Diffstat (limited to '')
-rw-r--r-- | synapse/storage/state.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/state.py b/synapse/storage/state.py index 7e55e8bed6..35d11c27cc 100644 --- a/synapse/storage/state.py +++ b/synapse/storage/state.py @@ -82,7 +82,7 @@ class StateStore(SQLBaseStore): f, ) - def _store_state_groups_txn(self, txn, event, context): + def _store_state_groups_txn(self, txn, invalidates, event, context): if context.current_state is None: return |