summary refs log tree commit diff
path: root/synapse/replication
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-12-03 14:28:46 +0000
committerErik Johnston <erik@matrix.org>2019-12-04 15:21:14 +0000
commit1056d6885a7b96be85c5ff19e26eba2ed3f90dd4 (patch)
tree7d12a37dd842f5a04ba5633fc8a14352c034c781 /synapse/replication
parentMove event fetch vars to EventWorkStore (diff)
downloadsynapse-1056d6885a7b96be85c5ff19e26eba2ed3f90dd4.tar.xz
Move cache invalidation to main data store
Diffstat (limited to 'synapse/replication')
-rw-r--r--synapse/replication/slave/storage/_base.py3
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