Skip to content

Commit

Permalink
Merge pull request #88 from FinalDoubleTen/develop
Browse files Browse the repository at this point in the history
Refactor : 최대 스레드 수 수정
  • Loading branch information
Kim-Dong-Jun99 authored Jan 18, 2024
2 parents e0987fe + cd04efd commit 556d03f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/tenten/tentenstomp/config/AsyncConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ public class AsyncConfig {
@Bean(name = "pathTaskExecutor")
public Executor myPool() {
ThreadPoolTaskExecutor threadPoolTaskExecutor = new ThreadPoolTaskExecutor();
threadPoolTaskExecutor.setCorePoolSize(5); // 기본 스레드 수
threadPoolTaskExecutor.setMaxPoolSize(20); // 최대 스레드 수
threadPoolTaskExecutor.setCorePoolSize(20); // 기본 스레드 수
threadPoolTaskExecutor.setMaxPoolSize(30); // 최대 스레드 수
threadPoolTaskExecutor.setThreadNamePrefix("AsyncThread-");
return threadPoolTaskExecutor;
}
Expand Down

0 comments on commit 556d03f

Please sign in to comment.