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

Commit

Permalink
expose SlavedProfileStore to ClientReaderSlavedStore (#5200)
Browse files Browse the repository at this point in the history
* expose SlavedProfileStore to ClientReaderSlavedStore
  • Loading branch information
neilisfragile committed May 17, 2019
1 parent afb463f commit ce5bcef
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 @@ -29,6 +29,7 @@
from synapse.http.site import SynapseSite
from synapse.metrics import RegistryProxy
from synapse.metrics.resource import METRICS_PREFIX, MetricsResource
from synapse.replication.slave.storage import SlavedProfileStore
from synapse.replication.slave.storage._base import BaseSlavedStore
from synapse.replication.slave.storage.account_data import SlavedAccountDataStore
from synapse.replication.slave.storage.appservice import SlavedApplicationServiceStore
Expand Down Expand Up @@ -83,6 +84,7 @@ class ClientReaderSlavedStore(
SlavedTransactionStore,
SlavedClientIpStore,
BaseSlavedStore,
SlavedProfileStore,
):
pass

Expand Down

0 comments on commit ce5bcef

Please sign in to comment.