Commit 18eef79a by hewei

Merge branch 'upay-test' into 'upay-prod'

Upay test

See merge request !18
parents 6cca8f14 a23addc9
...@@ -21,8 +21,8 @@ public class BusinessThreadPool { ...@@ -21,8 +21,8 @@ public class BusinessThreadPool {
* 业务处理线程池 * 业务处理线程池
*/ */
public final static ExecutorService BUSINESS_TASK_THREAD_POOL_EXECUTOR = public final static ExecutorService BUSINESS_TASK_THREAD_POOL_EXECUTOR =
new ThreadPoolExecutor(WsConstants.CPU_PROCESSORS, WsConstants.CPU_PROCESSORS * 2, new ThreadPoolExecutor(WsConstants.CPU_PROCESSORS, WsConstants.CPU_PROCESSORS * 5,
60L, TimeUnit.MILLISECONDS, 60L, TimeUnit.MILLISECONDS,
new LinkedBlockingQueue<Runnable>(1024 * 2), BUSINESS_THREAD_FACTORY, new ThreadPoolExecutor.CallerRunsPolicy()); new LinkedBlockingQueue<Runnable>(10240), BUSINESS_THREAD_FACTORY, new ThreadPoolExecutor.CallerRunsPolicy());
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment