Skip to content
Snippets Groups Projects
Unverified Commit 6964ea09 authored by Richard van der Hoff's avatar Richard van der Hoff Committed by GitHub
Browse files

Reduce the reconnect time when replication fails. (#6617)

parent 0495097a
No related branches found
No related tags found
No related merge requests found
Reduce the reconnect time when worker replication fails, to make it easier to catch up.
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment