Open 286844626 opened 3 years ago
`class MyFactory(WebSocketClientFactory, ReconnectingClientFactory):
def clientConnectionFailed(self, connector, reason): print('failed retry!') self.retry(connector) def clientConnectionLost(self, connector, reason): self.maxDelay = 10 print('lost retry!') self.retry(connector)
`
`class MyFactory(WebSocketClientFactory, ReconnectingClientFactory):
`