summary refs log tree commit diff
path: root/synapse/replication
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2018-03-14 09:41:06 +0000
committerGitHub <noreply@github.com>2018-03-14 09:41:06 +0000
commitebd012799908ebef903140438eee5af66c884d21 (patch)
treea863fc6bfc5ab4c029b494ee42ab4dcff48301af /synapse/replication
parentMerge pull request #2991 from matrix-org/erikj/fixup_rm (diff)
parentSplit up ProfileStore (diff)
downloadsynapse-ebd012799908ebef903140438eee5af66c884d21.tar.xz
Merge pull request #2988 from matrix-org/erikj/split_profile_store
Split up ProfileStore
Diffstat (limited to 'synapse/replication')
-rw-r--r--synapse/replication/slave/storage/profile.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/synapse/replication/slave/storage/profile.py b/synapse/replication/slave/storage/profile.py
new file mode 100644
index 0000000000..46c28d4171
--- /dev/null
+++ b/synapse/replication/slave/storage/profile.py
@@ -0,0 +1,21 @@
+# -*- coding: utf-8 -*-
+# Copyright 2018 New Vector Ltd
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+from synapse.replication.slave.storage._base import BaseSlavedStore
+from synapse.storage.profile import ProfileWorkerStore
+
+
+class SlavedProfileStore(ProfileWorkerStore, BaseSlavedStore):
+    pass