You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "dsmiley (via GitHub)" <gi...@apache.org> on 2025/06/03 12:36:14 UTC

Re: [PR] Harmonize SolrJ timeouts [solr]

dsmiley commented on code in PR #3357:
URL: https://github.com/apache/solr/pull/3357#discussion_r2123681294


##########
solr/solrj/src/java/org/apache/solr/client/solrj/impl/Http2SolrClient.java:
##########
@@ -514,7 +522,7 @@ public NamedList<Object> request(SolrRequest<?> solrRequest, String collection)
     try {
       InputStreamResponseListener listener = new InputStreamReleaseTrackingResponseListener();
       req = sendRequest(makeRequest(solrRequest, url, false), listener);
-      Response response = listener.get(idleTimeoutMillis, TimeUnit.MILLISECONDS);
+      Response response = listener.get(requestTimeoutMillis, TimeUnit.MILLISECONDS);

Review Comment:
   I see the idle timeout was correct because this only waits for the HTTP headers



-- 
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: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org