Skip to content
Snippets Groups Projects
Commit 25814921 authored by Erik Johnston's avatar Erik Johnston
Browse files

Increase the max delay between retry attempts

Otherwise if you have many workers they can easily take out master with
their connection attempts
parent 31398718
No related branches found
Tags v0.31.0
No related merge requests found
......@@ -39,7 +39,7 @@ class ReplicationClientFactory(ReconnectingClientFactory):
Accepts a handler that will be called when new data is available or data
is required.
"""
maxDelay = 5 # Try at least once every N seconds
maxDelay = 30 # Try at least once every N seconds
def __init__(self, hs, client_name, handler):
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