summary refs log tree commit diff
path: root/synapse/replication
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-03-05 15:11:30 +0000
committerErik Johnston <erik@matrix.org>2018-03-05 15:11:30 +0000
commit2e223163ff59fa7d6030654dd8c74e58f8aa1deb (patch)
tree668c8bda28c7725346276f725c13f2cdc2577a5e /synapse/replication
parentMerge pull request #2934 from matrix-org/erikj/cache_fix (diff)
downloadsynapse-2e223163ff59fa7d6030654dd8c74e58f8aa1deb.tar.xz
Split Directory store
Diffstat (limited to 'synapse/replication')
-rw-r--r--synapse/replication/slave/storage/directory.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/synapse/replication/slave/storage/directory.py b/synapse/replication/slave/storage/directory.py
index 7301d885f2..6deecd3963 100644
--- a/synapse/replication/slave/storage/directory.py
+++ b/synapse/replication/slave/storage/directory.py
@@ -14,10 +14,8 @@
 # limitations under the License.
 
 from ._base import BaseSlavedStore
-from synapse.storage.directory import DirectoryStore
+from synapse.storage.directory import DirectoryWorkerStore
 
 
-class DirectoryStore(BaseSlavedStore):
-    get_aliases_for_room = DirectoryStore.__dict__[
-        "get_aliases_for_room"
-    ]
+class DirectoryStore(DirectoryWorkerStore, BaseSlavedStore):
+    pass