Fixed reconnection time prolonging over multiple disconnections

This commit is contained in:
Uriziel 2013-03-11 23:14:19 +01:00
parent 2739bf0393
commit 0eeb40db7f

View File

@ -21,6 +21,7 @@ class SyncClientFactory(ClientFactory):
self.reconnecting = False
def buildProtocol(self, addr):
self._timesTried = 0
return SyncClientProtocol(self._client)
def startedConnecting(self, connector):