oops
This commit is contained in:
1 parent
6f731edc18
commit
9a03386e14
1 file changed
+1
-1
@@ -73,7 +73,7 @@ class SnurrBotFactory(protocol.ClientFactory):
|
|||||||
|
|
||||||
def buildProtocol(self, addr):
|
def buildProtocol(self, addr):
|
||||||
self.timeout = self.TIMEOUT_INITIAL # reset
|
self.timeout = self.TIMEOUT_INITIAL # reset
|
||||||
super().buildProtocol(addr)
|
return super().buildProtocol(addr)
|
||||||
|
|
||||||
def clientConnectionLost(self, connector, reason):
|
def clientConnectionLost(self, connector, reason):
|
||||||
self.timeout *= self.timeout
|
self.timeout *= self.timeout
|
||||||
|
|||||||
Reference in new issue
Block a user