We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e03b6b3 commit 363b6d4Copy full SHA for 363b6d4
src/main/java/com/softeer/podoarrival/config/AsyncConfig.java
@@ -15,8 +15,8 @@ public class AsyncConfig {
15
@Bean(name = "arrivalExecutor")
16
public Executor arrivalExecutor() {
17
ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor();
18
- executor.setCorePoolSize(20); // 초기 스레드 풀 크기
19
- executor.setMaxPoolSize(100); // 최대 스레드 풀 크기
+ executor.setCorePoolSize(50); // 초기 스레드 풀 크기
+ executor.setMaxPoolSize(300); // 최대 스레드 풀 크기
20
executor.setQueueCapacity(300000); // 대기열 크기
21
executor.setThreadNamePrefix("Async-");
22
executor.setRejectedExecutionHandler(new ThreadPoolExecutor.CallerRunsPolicy()); // reject시 처리정책 - 시간이 걸려도 처리
0 commit comments