You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Peter Szantai-Kis (JIRA)" <ji...@apache.org> on 2017/10/02 11:31:00 UTC

[jira] [Updated] (SOLR-11425) SolrClientBuilder does not allow infinite timeout (value 0)

     [ https://issues.apache.org/jira/browse/SOLR-11425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Szantai-Kis updated SOLR-11425:
-------------------------------------
    Attachment: SOLR-11425.patch

> SolrClientBuilder does not allow infinite timeout (value 0)
> -----------------------------------------------------------
>
>                 Key: SOLR-11425
>                 URL: https://issues.apache.org/jira/browse/SOLR-11425
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrJ
>    Affects Versions: 7.0
>            Reporter: Peter Szantai-Kis
>         Attachments: SOLR-11425.patch
>
>
> [org.apache.solr.client.solrj.impl.SolrClientBuilder#withConnectionTimeout|https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/client/solrj/impl/SolrClientBuilder.java#L53] does not allow to set the value of 0 which means infinite timeout, but [RequestConfig|https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/client/config/RequestConfig.html#getConnectTimeout()] where it will be used have the option to do so.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org