diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-04-06 14:12:51 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-04-06 14:18:35 +0100 |
commit | 75fb9ac1be0fada60cdde38153ac0e3fe2b19a0a (patch) | |
tree | 55c8b1d447640d642028c57170108818182468f3 /synapse/replication/slave/__init__.py | |
parent | Merge pull request #694 from matrix-org/markjh/caches (diff) | |
download | synapse-75fb9ac1be0fada60cdde38153ac0e3fe2b19a0a.tar.xz |
Add a slaved events store class
Add a test to check that get_room_names_and_aliases does the same thing on both the master and on the slave data store.
Diffstat (limited to 'synapse/replication/slave/__init__.py')
-rw-r--r-- | synapse/replication/slave/__init__.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/synapse/replication/slave/__init__.py b/synapse/replication/slave/__init__.py new file mode 100644 index 0000000000..b7df13c9ee --- /dev/null +++ b/synapse/replication/slave/__init__.py @@ -0,0 +1,14 @@ +# -*- coding: utf-8 -*- +# Copyright 2016 OpenMarket 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. |