Fixed server not falling back correctly

Reduce timeout
This commit is contained in:
angelblue05 2017-11-02 22:34:26 -05:00
parent 17211df01e
commit b130f7646a

View file

@ -54,7 +54,7 @@ def getServerAddress(server, mode):
class ConnectionManager(object): class ConnectionManager(object):
default_timeout = 20 default_timeout = 10
apiClients = [] apiClients = []
minServerVersion = "3.0.5930" minServerVersion = "3.0.5930"
connectUser = None connectUser = None
@ -763,9 +763,6 @@ class ConnectionManager(object):
log.info("Begin connect") log.info("Begin connect")
servers = self.getAvailableServers() servers = self.getAvailableServers()
if not servers:
return ConnectionState['Unavailable']
return self._connectToServers(servers, options) return self._connectToServers(servers, options)
def _connectToServers(self, servers, options): def _connectToServers(self, servers, options):