Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Timo Ley
synapse
Commits
48e76979
Commit
48e76979
authored
8 years ago
by
Erik Johnston
Browse files
Options
Downloads
Patches
Plain Diff
Add slave transaction store
parent
57cfa513
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
synapse/app/client_reader.py
+2
-0
2 additions, 0 deletions
synapse/app/client_reader.py
synapse/app/media_repository.py
+2
-0
2 additions, 0 deletions
synapse/app/media_repository.py
with
4 additions
and
0 deletions
synapse/app/client_reader.py
+
2
−
0
View file @
48e76979
...
...
@@ -29,6 +29,7 @@ from synapse.replication.slave.storage.keys import SlavedKeyStore
from
synapse.replication.slave.storage.room
import
RoomStore
from
synapse.replication.slave.storage.directory
import
DirectoryStore
from
synapse.replication.slave.storage.registration
import
SlavedRegistrationStore
from
synapse.replication.slave.storage.transactions
import
TransactionStore
from
synapse.rest.client.v1.room
import
PublicRoomListRestServlet
from
synapse.server
import
HomeServer
from
synapse.storage.client_ips
import
ClientIpStore
...
...
@@ -63,6 +64,7 @@ class ClientReaderSlavedStore(
DirectoryStore
,
SlavedApplicationServiceStore
,
SlavedRegistrationStore
,
TransactionStore
,
BaseSlavedStore
,
ClientIpStore
,
# After BaseSlavedStore because the constructor is different
):
...
...
This diff is collapsed.
Click to expand it.
synapse/app/media_repository.py
+
2
−
0
View file @
48e76979
...
...
@@ -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
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment