summary refs log tree commit diff
path: root/synapse/replication/tcp/client.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-03-20 16:57:33 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-03-20 16:57:33 +0000
commita54d17c8c52baaff24302a54efa3a1db86a4a8c6 (patch)
tree22686b16db6ed994eeb91ebae4fa3671ffd8181c /synapse/replication/tcp/client.py
parentAdded the section 'Configuration' in /docs/turn-howto.md (#6614) (diff)
parentReduce the reconnect time when replication fails. (#6617) (diff)
downloadsynapse-a54d17c8c52baaff24302a54efa3a1db86a4a8c6.tar.xz
Reduce the reconnect time when replication fails. (#6617)
* commit '6964ea095':
  Reduce the reconnect time when replication fails. (#6617)
Diffstat (limited to 'synapse/replication/tcp/client.py')
-rw-r--r--synapse/replication/tcp/client.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/replication/tcp/client.py b/synapse/replication/tcp/client.py

index fead78388c..bbcb84646c 100644 --- a/synapse/replication/tcp/client.py +++ b/synapse/replication/tcp/client.py
@@ -46,7 +46,8 @@ class ReplicationClientFactory(ReconnectingClientFactory): is required. """ - maxDelay = 30 # Try at least once every N seconds + initialDelay = 0.1 + maxDelay = 1 # Try at least once every N seconds def __init__(self, hs, client_name, handler: AbstractReplicationClientHandler): self.client_name = client_name