move FederationStream out to its own file

This commit is contained in:
Richard van der Hoff 2019-03-27 11:45:42 +00:00
parent aa1e017864
commit 71dcb275f1
4 changed files with 43 additions and 23 deletions

View file

@ -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"])