mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
auto-reconnect to random server if server is not there
This commit is contained in:
parent
6b51628805
commit
4180a426c5
1 changed files with 2 additions and 1 deletions
|
@ -382,7 +382,8 @@ class Interface(threading.Thread):
|
|||
def init_interface(self):
|
||||
if self.config.get('server'):
|
||||
self.init_with_server(self.config)
|
||||
else:
|
||||
|
||||
if not self.is_connected:
|
||||
print "Using random server..."
|
||||
servers = DEFAULT_SERVERS[:]
|
||||
while servers:
|
||||
|
|
Loading…
Add table
Reference in a new issue