# HG changeset patch # User Edouard Tisserant # Date 1515505841 -3600 # Node ID 66043243c24674586ef99e6b3e622378ccca2405 # Parent 916099cb8d22d38a2e40b67ede525a2672e178dd More canonical overload of ReconnectingClientFactory (according twisted doc) diff -r 916099cb8d22 -r 66043243c246 runtime/WampClient.py --- a/runtime/WampClient.py Tue Jan 09 14:42:23 2018 +0100 +++ b/runtime/WampClient.py Tue Jan 09 14:50:41 2018 +0100 @@ -90,12 +90,12 @@ class ReconnectingWampWebSocketClientFactory(WampWebSocketClientFactory, ReconnectingClientFactory): def clientConnectionFailed(self, connector, reason): - self.retry(connector) print(_("WAMP Client connection failed .. retrying ..")) + ReconnectingClientFactory.clientConnectionFailed(self, connector, reason) def clientConnectionLost(self, connector, reason): - self.retry(connector) print(_("WAMP Client connection lost .. retrying ..")) + ReconnectingClientFactory.clientConnectionFailed(self, connector, reason) def LoadWampClientConf(wampconf):