This commit is contained in:
nikolark committed 2016-11-26 23:36:13 +01:00
1 parent 6f731edc18
commit 9a03386e14
1 file changed
+1 -1
+1 -1
View File
@@ -73,7 +73,7 @@ class SnurrBotFactory(protocol.ClientFactory):
def buildProtocol(self, addr):
self.timeout = self.TIMEOUT_INITIAL # reset
super().buildProtocol(addr)
return super().buildProtocol(addr)
def clientConnectionLost(self, connector, reason):
self.timeout *= self.timeout