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
Container registry
Model registry
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
Maunium
synapse
Commits
0bc9b9e3
Commit
0bc9b9e3
authored
6 years ago
by
Richard van der Hoff
Browse files
Options
Downloads
Patches
Plain Diff
reinstate explicit include of EventsWorkerStore
parent
a15ed522
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
synapse/storage/events.py
+3
-1
3 additions, 1 deletion
synapse/storage/events.py
with
3 additions
and
1 deletion
synapse/storage/events.py
+
3
−
1
View file @
0bc9b9e3
...
...
@@ -34,7 +34,9 @@ from synapse.api.errors import SynapseError
from
synapse.events
import
EventBase
# noqa: F401
from
synapse.events.snapshot
import
EventContext
# noqa: F401
from
synapse.metrics.background_process_metrics
import
run_as_background_process
from
synapse.storage.background_updates
import
BackgroundUpdateStore
from
synapse.storage.event_federation
import
EventFederationStore
from
synapse.storage.events_worker
import
EventsWorkerStore
from
synapse.types
import
RoomStreamToken
,
get_domain_from_id
from
synapse.util.async
import
ObservableDeferred
from
synapse.util.caches.descriptors
import
cached
,
cachedInlineCallbacks
...
...
@@ -195,7 +197,7 @@ def _retry_on_integrity_error(func):
# inherits from EventFederationStore so that we can call _update_backward_extremities
# and _handle_mult_prev_events (though arguably those could both be moved in here)
class
EventsStore
(
EventFederationStore
):
class
EventsStore
(
EventFederationStore
,
EventsWorkerStore
,
BackgroundUpdateStore
):
EVENT_ORIGIN_SERVER_TS_NAME
=
"
event_origin_server_ts
"
EVENT_FIELDS_SENDER_URL_UPDATE_NAME
=
"
event_fields_sender_url
"
...
...
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