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 cd5f0e8 commit c53f350Copy full SHA for c53f350
library/src/main/java/com/loopj/android/http/AsyncHttpClient.java
@@ -210,7 +210,7 @@ public AsyncHttpClient(SchemeRegistry schemeRegistry) {
210
211
ThreadSafeClientConnManager cm = new ThreadSafeClientConnManager(httpParams, schemeRegistry);
212
213
- threadPool = Executors.newFixedThreadPool(DEFAULT_MAX_CONNECTIONS);
+ threadPool = Executors.newCachedThreadPool();
214
requestMap = new WeakHashMap<Context, List<WeakReference<Future<?>>>>();
215
clientHeaderMap = new HashMap<String, String>();
216
0 commit comments