iamsanjay commented on PR #3208:
URL: https://github.com/apache/solr/pull/3208#issuecomment-2687044559

   We are creating client inside ZkController with custom timeouts
   ```
    http2SolrClient =
             new Http2SolrClient.Builder()
                 .withHttpClient(cc.getDefaultHttpSolrClient())
                 .withIdleTimeout(30000, TimeUnit.MILLISECONDS)
                 .withConnectionTimeout(15000, TimeUnit.MILLISECONDS)
                 .build();
   ```
   And HttpSolrClientProvider timeouts controlled via UpdateShardHandlerConfig
   ```
   httpClientBuilder
             .withConnectionTimeout(cfg.getDistributedConnectionTimeout(), 
TimeUnit.MILLISECONDS)
             .withIdleTimeout(cfg.getDistributedSocketTimeout(), 
TimeUnit.MILLISECONDS)
             .withMaxConnectionsPerHost(cfg.getMaxUpdateConnectionsPerHost());
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to