janhoy commented on code in PR #4236:
URL: https://github.com/apache/solr/pull/4236#discussion_r2986590763
##########
solr/solrj-jetty/src/java/org/apache/solr/client/solrj/jetty/HttpJettySolrClient.java:
##########
@@ -110,6 +110,12 @@ public class HttpJettySolrClient extends
HttpSolrClientBase {
*/
public static final String CLIENT_CUSTOMIZER_SYSPROP =
"solr.solrj.http.jetty.customizer";
+ /**
+ * System property to cap the maximum number of outstanding async HTTP
requests. Defaults to
+ * {@code 1000}. Lower values reduce memory pressure in resource-constrained
environments.
+ */
+ public static final String ASYNC_REQUESTS_MAX_SYSPROP =
"solr.http.client.async_requests.max";
Review Comment:
Making the semaphore max limit configurable was also discussed in #2313 but
rejected.. @magibney comments?
--
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]