summary refs log tree commit diff
path: root/synapse/replication/slave/storage/profile.py
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@arasphere.net>2018-03-14 15:38:05 +0000
committerGitHub <noreply@github.com>2018-03-14 15:38:05 +0000
commit056a6df5462d45eeb4cc9870492f6147677e7213 (patch)
treea3a4c576bfd2749d297315a9e6b5cd3f53161d87 /synapse/replication/slave/storage/profile.py
parentpep8 (diff)
parentMerge pull request #2995 from matrix-org/erikj/enable_membership_worker (diff)
downloadsynapse-056a6df5462d45eeb4cc9870492f6147677e7213.tar.xz
Merge branch 'develop' into matthew/filter_members
Diffstat (limited to 'synapse/replication/slave/storage/profile.py')
-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