We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93c745c commit 07476abCopy full SHA for 07476ab
api/src/main/java/org/asynchttpclient/AsyncHttpClientConfig.java
@@ -1274,9 +1274,8 @@ public Thread newThread(Runnable r) {
1274
1275
if (applicationThreadPool == null) {
1276
managedApplicationThreadPool = true;
1277
- int count = Runtime.getRuntime().availableProcessors();
1278
applicationThreadPool =
1279
- Executors.newFixedThreadPool(count, new ThreadFactory() {
+ Executors.newCachedThreadPool(new ThreadFactory() {
1280
final AtomicInteger counter = new AtomicInteger();
1281
public Thread newThread(Runnable r) {
1282
Thread t = new Thread(r,
0 commit comments