summary refs log tree commit diff
path: root/synapse/replication/tcp/resource.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2019-03-27 11:45:42 +0000
committerRichard van der Hoff <richard@matrix.org>2019-03-27 21:13:14 +0000
commit71dcb275f1d65f2251b77684550b4d9e2a19aadc (patch)
tree60ada4f7f57d32004ca5dc7d7bd1407f601b2215 /synapse/replication/tcp/resource.py
parentmove EventsStream out to its own file (diff)
downloadsynapse-71dcb275f1d65f2251b77684550b4d9e2a19aadc.tar.xz
move FederationStream out to its own file
Diffstat (limited to 'synapse/replication/tcp/resource.py')
-rw-r--r--synapse/replication/tcp/resource.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/replication/tcp/resource.py b/synapse/replication/tcp/resource.py
index 7fc346c7b6..f6a38f5140 100644
--- a/synapse/replication/tcp/resource.py
+++ b/synapse/replication/tcp/resource.py
@@ -30,7 +30,8 @@ from synapse.metrics.background_process_metrics import run_as_background_process
 from synapse.util.metrics import Measure, measure_func
 
 from .protocol import ServerReplicationStreamProtocol
-from .streams import STREAMS_MAP, FederationStream
+from .streams import STREAMS_MAP
+from .streams.federation import FederationStream
 
 stream_updates_counter = Counter("synapse_replication_tcp_resource_stream_updates",
                                  "", ["stream_name"])