대용량 다운로드 테스트

This commit is contained in:
2026-02-11 16:23:24 +09:00
parent ac13f36663
commit 2d2b55efcd
5 changed files with 150 additions and 70 deletions

View File

@@ -20,4 +20,15 @@ public class AsyncConfig {
ex.initialize();
return ex;
}
@Bean(name = "auditLogExecutor")
public Executor auditLogExecutor() {
ThreadPoolTaskExecutor exec = new ThreadPoolTaskExecutor();
exec.setCorePoolSize(2);
exec.setMaxPoolSize(8);
exec.setQueueCapacity(2000);
exec.setThreadNamePrefix("auditlog-");
exec.initialize();
return exec;
}
}