jest
maxTotalConnection and defaultMaxTotalConnectionPerRoute
In HttpClientConfig, if we configure Builder with 3 servers and we don't define any explicit routes, and we want to have maximum of 20 connections per server, we should set maxTotalConnection to be 20, i.e does a pool get created for each server? Also, do we need to explicitly set defaultMaxTotalConnectionPerRoute even though we are not defining any routes explicitly, i.e. we should also set defaultMaxTotalConnectionPerRoute to 20? Regards, LT
Those parameters are directly passed to PoolingHttpClientConnectionManager, see its documentation for details on how it works.
Related Links
Is there a good report for jest test case?
Jest is hung there
Error: Invariant Violation: Element type is invalid
maxTotalConnection and defaultMaxTotalConnectionPerRoute
Calling CreateIndex with settings without using ImmutableSettings