diff --git a/authentik/sources/ldap/models.py b/authentik/sources/ldap/models.py index 4a6c2fd2e..9c5040d2d 100644 --- a/authentik/sources/ldap/models.py +++ b/authentik/sources/ldap/models.py @@ -151,7 +151,7 @@ class LDAPSource(Source): servers.append(Server(server, **server_kwargs)) else: servers = [Server(self.server_uri, **server_kwargs)] - return ServerPool(servers, RANDOM, active=True, exhaust=True) + return ServerPool(servers, RANDOM, active=5, exhaust=True) def connection( self, server_kwargs: Optional[dict] = None, connection_kwargs: Optional[dict] = None