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

Commit ce5bcef

Browse files
expose SlavedProfileStore to ClientReaderSlavedStore (#5200)
* expose SlavedProfileStore to ClientReaderSlavedStore
1 parent afb463f commit ce5bcef

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

changelog.d/5200.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix worker registration bug caused by ClientReaderSlavedStore being unable to see get_profileinfo.

synapse/app/client_reader.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
from synapse.http.site import SynapseSite
3030
from synapse.metrics import RegistryProxy
3131
from synapse.metrics.resource import METRICS_PREFIX, MetricsResource
32+
from synapse.replication.slave.storage import SlavedProfileStore
3233
from synapse.replication.slave.storage._base import BaseSlavedStore
3334
from synapse.replication.slave.storage.account_data import SlavedAccountDataStore
3435
from synapse.replication.slave.storage.appservice import SlavedApplicationServiceStore
@@ -83,6 +84,7 @@ class ClientReaderSlavedStore(
8384
SlavedTransactionStore,
8485
SlavedClientIpStore,
8586
BaseSlavedStore,
87+
SlavedProfileStore,
8688
):
8789
pass
8890

0 commit comments

Comments
 (0)