diff --git a/auth/krbldap.py b/auth/krbldap.py index 2310694..4702d2d 100644 --- a/auth/krbldap.py +++ b/auth/krbldap.py @@ -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):