Are we going to add this fix (setTestWhileIdle and 
setTimeBetweenEvictionRunsMillis) into the source?


----- Original Message -----
From: "Jan Sindberg" <[email protected]>
To: [email protected]
Sent: Friday, February 12, 2016 3:52:17 PM
Subject: Re: LDAP connection timeout

>
>
> Every 30 minutes this will test three (3 is default) idle threads and
> evict them if they fail an attempt of a simple lookup on the rootDSE.
> I have not yet established how long time it takes before a connection is
> stale
> I hope 30 minutes is enough - I suspect that the test will keep the
> connections alive if the time is too short.
>
>
This is enough to mitigate the issue with long waiting time for the first
user in the morning.

// Jan

Reply via email to