From 0eeb40db7f0ec18c58f13a60223429ea4e79f040 Mon Sep 17 00:00:00 2001 From: Uriziel Date: Mon, 11 Mar 2013 23:14:19 +0100 Subject: [PATCH] Fixed reconnection time prolonging over multiple disconnections --- syncplay/client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/syncplay/client.py b/syncplay/client.py index 9b4ef80..c055d93 100644 --- a/syncplay/client.py +++ b/syncplay/client.py @@ -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):