Skip to content
2 changes: 1 addition & 1 deletion src/CommonLib/ConnectionPoolManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void ReleaseConnection(LdapConnectionWrapper connectionWrapper, bool conn
var resolved = ResolveIdentifier(identifier);
if (!_pools.TryGetValue(resolved, out var pool)) {
pool = new LdapConnectionPool(identifier, resolved, _ldapConfig, scanner: _portScanner);
_pools.TryAdd(resolved, pool);
pool = _pools.GetOrAdd(resolved, pool);
}

return (true, pool);
Expand Down
Loading
Loading