let the LDAP server pool time out
This commit is contained in:
+2
-2
@@ -14,8 +14,8 @@ def Konnection(hosts, username, password):
|
||||
|
||||
|
||||
def make_server_pool(hosts):
|
||||
servers = [Server(host, get_info=NONE) for host in hosts]
|
||||
return ServerPool(servers, ROUND_ROBIN, active=True, exhaust=True)
|
||||
servers = [Server(host, get_info=NONE, connect_timeout=3) for host in hosts]
|
||||
return ServerPool(servers, ROUND_ROBIN, active=3, exhaust=True)
|
||||
|
||||
|
||||
def make_creds(username, password):
|
||||
|
||||
Reference in New Issue
Block a user