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) -> {