Merge "Change the keep alive time for excess idle threads." into gingerbread

This commit is contained in:
Romain Guy
2010-09-14 11:34:01 -07:00
committed by Android (Google) Code Review

View File

@ -129,7 +129,7 @@ public abstract class AsyncTask<Params, Progress, Result> {
private static final int CORE_POOL_SIZE = 5; private static final int CORE_POOL_SIZE = 5;
private static final int MAXIMUM_POOL_SIZE = 128; private static final int MAXIMUM_POOL_SIZE = 128;
private static final int KEEP_ALIVE = 10; private static final int KEEP_ALIVE = 1;
private static final BlockingQueue<Runnable> sWorkQueue = private static final BlockingQueue<Runnable> sWorkQueue =
new LinkedBlockingQueue<Runnable>(10); new LinkedBlockingQueue<Runnable>(10);