diff options
author | Erik Johnston <erik@matrix.org> | 2018-03-05 15:11:30 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-03-05 15:11:30 +0000 |
commit | 2e223163ff59fa7d6030654dd8c74e58f8aa1deb (patch) | |
tree | 668c8bda28c7725346276f725c13f2cdc2577a5e /synapse/replication/slave/storage | |
parent | Merge pull request #2934 from matrix-org/erikj/cache_fix (diff) | |
download | synapse-2e223163ff59fa7d6030654dd8c74e58f8aa1deb.tar.xz |
Split Directory store
Diffstat (limited to 'synapse/replication/slave/storage')
-rw-r--r-- | synapse/replication/slave/storage/directory.py | 8 |
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 |