From 5d440e0b7831d07bc5322e318aaf6e057eaccbaf Mon Sep 17 00:00:00 2001 From: jyajoo Date: Mon, 28 Oct 2024 17:33:15 +0900 Subject: [PATCH] =?UTF-8?q?[#472]=20fix:=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20?= =?UTF-8?q?=EB=B9=84=EB=8F=99=EA=B8=B0=20=EC=84=A4=EC=A0=95=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/jeju/nanaland/global/config/AsyncConfig.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/jeju/nanaland/global/config/AsyncConfig.java b/src/main/java/com/jeju/nanaland/global/config/AsyncConfig.java index a574b15e..a5b6617f 100644 --- a/src/main/java/com/jeju/nanaland/global/config/AsyncConfig.java +++ b/src/main/java/com/jeju/nanaland/global/config/AsyncConfig.java @@ -32,9 +32,9 @@ public Executor imageUploadExecutor() { ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor(); executor.setThreadGroupName("imageUploadExecutor"); - executor.setCorePoolSize(10); - executor.setMaxPoolSize(20); - executor.setQueueCapacity(50); + executor.setCorePoolSize(2); + executor.setMaxPoolSize(5); + executor.setQueueCapacity(10); executor.setKeepAliveSeconds(20); executor.setThreadNamePrefix("Async ImageUploadExecutor-"); executor.setRejectedExecutionHandler((r, exec) -> {