diff options
author | Erik Johnston <erik@matrix.org> | 2017-03-24 12:57:46 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-03-24 13:05:30 +0000 |
commit | 48e76979112f9a048a173626be112e4c40a1f489 (patch) | |
tree | 363585e7d5201fdae3bc393495c994a55db0e654 /synapse/app/media_repository.py | |
parent | Merge pull request #2054 from matrix-org/erikj/user_iter_cursor (diff) | |
download | synapse-48e76979112f9a048a173626be112e4c40a1f489.tar.xz |
Add slave transaction store
Diffstat (limited to 'synapse/app/media_repository.py')
-rw-r--r-- | synapse/app/media_repository.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/app/media_repository.py b/synapse/app/media_repository.py index 3c7984a237..1444e69a42 100644 --- a/synapse/app/media_repository.py +++ b/synapse/app/media_repository.py @@ -24,6 +24,7 @@ from synapse.metrics.resource import MetricsResource, METRICS_PREFIX from synapse.replication.slave.storage._base import BaseSlavedStore from synapse.replication.slave.storage.appservice import SlavedApplicationServiceStore from synapse.replication.slave.storage.registration import SlavedRegistrationStore +from synapse.replication.slave.storage.transactions import TransactionStore from synapse.rest.media.v0.content_repository import ContentRepoResource from synapse.rest.media.v1.media_repository import MediaRepositoryResource from synapse.server import HomeServer @@ -59,6 +60,7 @@ logger = logging.getLogger("synapse.app.media_repository") class MediaRepositorySlavedStore( SlavedApplicationServiceStore, SlavedRegistrationStore, + TransactionStore, BaseSlavedStore, MediaRepositoryStore, ClientIpStore, |