Im using a ThreadSafeClientConnManager with a max total of 50. If all of them are busy, waiting resources will timeout and I dont want this.
On the other side, if a timeout waiting for a connection to be established occurs, I will retry twice and then assume site is down. I dont care if a connection is served from the pool or is new. Thanks, Jordi On Thu, Apr 28, 2011 at 15:32, Oleg Kalnichevski <[email protected]> wrote: > On Thu, 2011-04-28 at 12:32 +0200, Jordi Domingo Borràs wrote: > > Hi Oleg, > > > > I need an infinite timeout waiting for a connection from the pool ( i > need > > the resource to load, whenever possible, doesnt matter if its now or in 5 > > min). > > I need a low value timeout when connecting to a host. > > > > But why? Why do you care if a connection has been served from the pool > or newly created? In both cases one simply needs to ensure that I/O > threads do not get blocked indefinitely while waiting for a connection > to be established. > > Oleg > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
