From e8c3f23fdf4f479068f6e5d636ea6d6350235e1d Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Wed, 18 Aug 2021 12:21:35 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E8=B0=83=E6=95=B4=E5=BC=82?= =?UTF-8?q?=E6=AD=A5=E7=BA=BF=E7=A8=8B=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/main/java/io/metersphere/config/AsyncConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/config/AsyncConfig.java b/backend/src/main/java/io/metersphere/config/AsyncConfig.java index 5fb72ebacc..4a6ddb4000 100644 --- a/backend/src/main/java/io/metersphere/config/AsyncConfig.java +++ b/backend/src/main/java/io/metersphere/config/AsyncConfig.java @@ -16,7 +16,7 @@ public class AsyncConfig { public AsyncTaskExecutor taskExecutor() { ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor(); executor.setThreadNamePrefix("Async-Executor-"); - executor.setCorePoolSize(10); + executor.setCorePoolSize(20); executor.setRejectedExecutionHandler(new ThreadPoolExecutor.CallerRunsPolicy()); return executor; }