arturobernalg commented on code in PR #782:
URL:
https://github.com/apache/httpcomponents-client/pull/782#discussion_r2692076107
##########
httpclient5-fluent/src/main/java/org/apache/hc/client5/http/fluent/Async.java:
##########
@@ -39,15 +48,93 @@
*/
public class Async {
Review Comment:
I just add Contract
##########
httpclient5-fluent/src/main/java/org/apache/hc/client5/http/fluent/Async.java:
##########
@@ -39,15 +48,93 @@
*/
public class Async {
+ private static final int DEFAULT_MAX_THREADS =
+ Math.max(2, Math.min(32,
Runtime.getRuntime().availableProcessors() * 2));
+
+ private static final int DEFAULT_QUEUE_CAPACITY = 1000;
+
+ private static final AtomicInteger INSTANCE_COUNT = new AtomicInteger(0);
+
private Executor executor;
private java.util.concurrent.Executor concurrentExec;
+ private ExecutorService ownedConcurrentExec;
Review Comment:
Done
--
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]