let the LDAP server pool time out

This commit is contained in:
2026-05-17 21:06:47 +02:00
parent e1f24d0043
commit e9b852662f
+2 -2
View File
@@ -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):