Re: LdapConnectionPool.getConnection doing extraneous search?

2021-03-21 Thread Emmanuel Lécharny
On 21/03/2021 13:43, Shawn McKinney wrote: On Mar 20, 2021, at 10:40 PM, Emmanuel Lécharny wrote: I guess that the very first time we create the connection, when asking for one from a pool, we test it beforehandd, and this is done with the less costly operation: a dummy search. This is

Re: LdapConnectionPool.getConnection doing extraneous search?

2021-03-21 Thread Shawn McKinney
> On Mar 20, 2021, at 10:40 PM, Emmanuel Lécharny wrote: > > I guess that the very first time we create the connection, when asking for > one from a pool, we test it beforehandd, and this is done with the less > costly operation: a dummy search. > > This is due to commons-pool logic where