diff options
author | Erik Johnston <erik@matrix.org> | 2019-12-03 14:28:46 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-12-04 15:21:14 +0000 |
commit | 1056d6885a7b96be85c5ff19e26eba2ed3f90dd4 (patch) | |
tree | 7d12a37dd842f5a04ba5633fc8a14352c034c781 /synapse/replication/slave | |
parent | Move event fetch vars to EventWorkStore (diff) | |
download | synapse-1056d6885a7b96be85c5ff19e26eba2ed3f90dd4.tar.xz |
Move cache invalidation to main data store
Diffstat (limited to 'synapse/replication/slave')
-rw-r--r-- | synapse/replication/slave/storage/_base.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/replication/slave/storage/_base.py b/synapse/replication/slave/storage/_base.py index 456bc005a0..71e5877aca 100644 --- a/synapse/replication/slave/storage/_base.py +++ b/synapse/replication/slave/storage/_base.py @@ -18,7 +18,8 @@ from typing import Dict import six -from synapse.storage._base import _CURRENT_STATE_CACHE_NAME, SQLBaseStore +from synapse.storage._base import SQLBaseStore +from synapse.storage.data_stores.main.cache import _CURRENT_STATE_CACHE_NAME from synapse.storage.engines import PostgresEngine from ._slaved_id_tracker import SlavedIdTracker |