summary refs log tree commit diff
path: root/synapse/replication/tcp/streams/__init__.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/streams/__init__.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/streams/__init__.py')
-rw-r--r--synapse/replication/tcp/streams/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/replication/tcp/streams/__init__.py b/synapse/replication/tcp/streams/__init__.py

index edad37aef8..5c715e3bfa 100644 --- a/synapse/replication/tcp/streams/__init__.py +++ b/synapse/replication/tcp/streams/__init__.py
@@ -25,7 +25,7 @@ Each stream is defined by the following information: update_function: The function that returns a list of updates between two tokens """ -from . import _base, events +from . import _base, events, federation STREAMS_MAP = { stream.NAME: stream @@ -41,7 +41,7 @@ STREAMS_MAP = { _base.PublicRoomsStream, _base.DeviceListsStream, _base.ToDeviceStream, - _base.FederationStream, + federation.FederationStream, _base.TagAccountDataStream, _base.AccountDataStream, _base.CurrentStateDeltaStream,