summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2021-11-18 18:48:08 +0000
committerDavid Robertson <davidr@element.io>2021-11-18 18:48:08 +0000
commit46861909452923855a53c43536550bb5e46bb482 (patch)
tree392259169d481fe3eb17579c40bdfb4297daa383
parentFix typo (diff)
downloadsynapse-46861909452923855a53c43536550bb5e46bb482.tar.xz
SlavedEventStore doesn't need StreamWorkerStore
already has it via SlavedEventStore -> BaseEventStore ->
CacheInvalidationWorkerStore -> StreamWorkerStore
-rw-r--r--synapse/replication/slave/storage/events.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/replication/slave/storage/events.py b/synapse/replication/slave/storage/events.py
index d8c831a02e..864b071976 100644
--- a/synapse/replication/slave/storage/events.py
+++ b/synapse/replication/slave/storage/events.py
@@ -17,7 +17,6 @@ from typing import TYPE_CHECKING
 
 from synapse.storage.database import DatabasePool
 from synapse.storage.databases.main.state import StateGroupWorkerStore
-from synapse.storage.databases.main.stream import StreamWorkerStore
 from synapse.storage.databases.main.user_erasure_store import UserErasureWorkerStore
 from synapse.util.caches.stream_change_cache import StreamChangeCache
 
@@ -42,7 +41,6 @@ class SlavedEventStore(
     StateGroupWorkerStore,
     UserErasureWorkerStore,
     BaseSlavedStore,
-    StreamWorkerStore,
 ):
     def __init__(self, database: DatabasePool, db_conn, hs: "HomeServer"):
         super().__init__(database, db_conn, hs)