diff options
author | Erik Johnston <erik@matrix.org> | 2018-07-26 13:35:36 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-08-06 15:23:57 +0100 |
commit | 96a9a296455e2c08be4e0375cf784e4113fa51e1 (patch) | |
tree | 0d1c14823dafe174e1dfe01934fb3a09e6e30702 /synapse | |
parent | Move necessary storage functions to worker classes (diff) | |
download | synapse-96a9a296455e2c08be4e0375cf784e4113fa51e1.tar.xz |
Pull in necessary stores in federation_reader
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/app/federation_reader.py | 2 | ||||
-rw-r--r-- | synapse/storage/events_worker.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/synapse/app/federation_reader.py b/synapse/app/federation_reader.py index c512b4be87..0c557a8242 100644 --- a/synapse/app/federation_reader.py +++ b/synapse/app/federation_reader.py @@ -36,6 +36,7 @@ from synapse.replication.slave.storage.appservice import SlavedApplicationServic from synapse.replication.slave.storage.directory import DirectoryStore from synapse.replication.slave.storage.events import SlavedEventStore from synapse.replication.slave.storage.keys import SlavedKeyStore +from synapse.replication.slave.storage.profile import SlavedProfileStore from synapse.replication.slave.storage.push_rule import SlavedPushRuleStore from synapse.replication.slave.storage.pushers import SlavedPusherStore from synapse.replication.slave.storage.receipts import SlavedReceiptsStore @@ -53,6 +54,7 @@ logger = logging.getLogger("synapse.app.federation_reader") class FederationReaderSlavedStore( + SlavedProfileStore, SlavedApplicationServiceStore, SlavedPusherStore, SlavedPushRuleStore, diff --git a/synapse/storage/events_worker.py b/synapse/storage/events_worker.py index e1dc2c62fd..59822178ff 100644 --- a/synapse/storage/events_worker.py +++ b/synapse/storage/events_worker.py @@ -14,7 +14,6 @@ # limitations under the License. import itertools import logging - from collections import namedtuple from canonicaljson import json |