mirror of https://github.com/str4d/RelayBot.git
Fix server connection flood when SSL fails.
This commit is contained in:
parent
bd898207c6
commit
2413d8a083
|
@ -278,7 +278,7 @@ class RelayFactory(ReconnectingClientFactory):
|
|||
|
||||
def buildProtocol(self, addr):
|
||||
#Connected - reset reconnect attempt delay.
|
||||
self.resetDelay()
|
||||
self.maxDelay = 900
|
||||
x = self.protocol(self.config)
|
||||
x.factory = self
|
||||
return x
|
||||
|
|
Loading…
Reference in New Issue