On Tue, 2017-09-26 at 11:51 +0200, Stefan Sobernig wrote:
> Hi Oleg!
> 
> Thx for the swift reply, turned out very helpful :)
> 

...


> > >  with setMaxConnTotal(5) and
> > > setMaxConnPerRoute(5), assuming that each pool has a min of 2?
> > > Can I
> > > influence the minimum number of connections?
> > > 
> > 
> > I am not sure I understand.
> 
> How can I configure a pool for a given AsyncHttpClient for a size 2-5
> (or 3-10 etc.)?


Please use PoolingAsyncClientConnectionManagerBuilder to build an
instance of PoolingAsyncClientConnectionManager with the desired
settings or change the settings of an existing
PoolingAsyncClientConnectionManager through ConnPoolControl interface.

Hope this helps

Oleg

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to