Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Neilj/ensure get profileinfo available in client reader slaved store (#…
Browse files Browse the repository at this point in the history
…5213)

* expose SlavedProfileStore to ClientReaderSlavedStore
  • Loading branch information
neilisfragile committed May 22, 2019
1 parent 2dfbeea commit 66b75e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/5200.bugfix
@@ -0,0 +1 @@
Fix worker registration bug caused by ClientReaderSlavedStore being unable to see get_profileinfo.
2 changes: 2 additions & 0 deletions synapse/app/client_reader.py
Expand Up @@ -38,6 +38,7 @@
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.receipts import SlavedReceiptsStore
from synapse.replication.slave.storage.registration import SlavedRegistrationStore
Expand Down Expand Up @@ -81,6 +82,7 @@ class ClientReaderSlavedStore(
SlavedApplicationServiceStore,
SlavedRegistrationStore,
SlavedTransactionStore,
SlavedProfileStore,
SlavedClientIpStore,
BaseSlavedStore,
):
Expand Down

0 comments on commit 66b75e2

Please sign in to comment.