summary refs log tree commit diff
path: root/synapse/replication/tcp/resource.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-01-14 14:08:06 +0000
committerGitHub <noreply@github.com>2020-01-14 14:08:06 +0000
commite8b68a4e4b439065536c281d8997af85880f6ee2 (patch)
tree789fbafaf84ba78548ad6c924770aafeb986a635 /synapse/replication/tcp/resource.py
parentQuarantine media by ID or user ID (#6681) (diff)
downloadsynapse-e8b68a4e4b439065536c281d8997af85880f6ee2.tar.xz
Fixup synapse.replication to pass mypy checks (#6667)
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 d1e98428bc..cbfdaf5773 100644 --- a/synapse/replication/tcp/resource.py +++ b/synapse/replication/tcp/resource.py
@@ -17,6 +17,7 @@ import logging import random +from typing import List from six import itervalues @@ -79,7 +80,7 @@ class ReplicationStreamer(object): self._replication_torture_level = hs.config.replication_torture_level # Current connections. - self.connections = [] + self.connections = [] # type: List[ServerReplicationStreamProtocol] LaterGauge( "synapse_replication_tcp_resource_total_connections",