We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 741d8fa commit f5a7950Copy full SHA for f5a7950
1 file changed
src/main/java/com/semosan/api/common/config/AsyncConfig.java
@@ -21,7 +21,7 @@ public Executor notificationTaskExecutor() {
21
executor.setThreadNamePrefix("notif-async-");
22
// 큐 가득 차면 호출 스레드가 직접 실행 → 메시지 유실 방지
23
executor.setRejectedExecutionHandler(new ThreadPoolExecutor.CallerRunsPolicy());
24
- executor.initialize();
+ // executor.initialize() 호출 안 함 → Spring이 afterPropertiesSet()에서 자동 호출
25
return executor;
26
}
27
0 commit comments