Pull in necessary stores in federation_reader

pull/14/head
Erik Johnston 6 years ago
parent 62ace05c45
commit 96a9a29645
  1. 2
      synapse/app/federation_reader.py
  2. 1
      synapse/storage/events_worker.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.directory import DirectoryStore
from synapse.replication.slave.storage.events import SlavedEventStore from synapse.replication.slave.storage.events import SlavedEventStore
from synapse.replication.slave.storage.keys import SlavedKeyStore 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.push_rule import SlavedPushRuleStore
from synapse.replication.slave.storage.pushers import SlavedPusherStore from synapse.replication.slave.storage.pushers import SlavedPusherStore
from synapse.replication.slave.storage.receipts import SlavedReceiptsStore from synapse.replication.slave.storage.receipts import SlavedReceiptsStore
@ -53,6 +54,7 @@ logger = logging.getLogger("synapse.app.federation_reader")
class FederationReaderSlavedStore( class FederationReaderSlavedStore(
SlavedProfileStore,
SlavedApplicationServiceStore, SlavedApplicationServiceStore,
SlavedPusherStore, SlavedPusherStore,
SlavedPushRuleStore, SlavedPushRuleStore,

@ -14,7 +14,6 @@
# limitations under the License. # limitations under the License.
import itertools import itertools
import logging import logging
from collections import namedtuple from collections import namedtuple
from canonicaljson import json from canonicaljson import json

Loading…
Cancel
Save