fix reconnect
This commit is contained in:
parent
873437e6a9
commit
94b920ab2a
1 changed files with 1 additions and 0 deletions
|
@ -138,6 +138,7 @@ class BaseNetwork:
|
|||
|
||||
@defer.inlineCallbacks
|
||||
def start(self):
|
||||
self.running = True
|
||||
for server in cycle(self.config['default_servers']):
|
||||
connection_string = 'tcp:{}:{}'.format(*server)
|
||||
endpoint = clientFromString(reactor, connection_string)
|
||||
|
|
Loading…
Reference in a new issue