change install core size.

This commit is contained in:
lijiahang
2022-09-03 00:09:55 +08:00
parent 95f7e75f61
commit 57b04fe6ce
@@ -205,7 +205,7 @@ public class SchedulerPools {
*/
public static final ThreadPoolExecutor AGENT_INSTALL_SCHEDULER = ExecutorBuilder.create()
.setNamedThreadFactory("agent-install-thread-")
.setCorePoolSize(2)
.setCorePoolSize(4)
.setMaxPoolSize(4)
.setKeepAliveTime(Const.MS_S_30)
.setWorkQueue(new LinkedBlockingQueue<>())