Skip to content

Commit

Permalink
chore: #425 비동기 작업을 위한 tread pool size 감소 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
Wo-ogie committed Jan 26, 2024
1 parent 7d143f7 commit a6781b8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ public class AsyncConfig implements AsyncConfigurer {
@Override
public Executor getAsyncExecutor() {
ThreadPoolTaskExecutor threadPoolTaskExecutor = new ThreadPoolTaskExecutor();
threadPoolTaskExecutor.setCorePoolSize(3);
threadPoolTaskExecutor.setMaxPoolSize(10);
threadPoolTaskExecutor.setCorePoolSize(2);
threadPoolTaskExecutor.setMaxPoolSize(5);
threadPoolTaskExecutor.setQueueCapacity(300);
threadPoolTaskExecutor.setTaskDecorator(new AsyncTaskDecorator());
threadPoolTaskExecutor.setThreadNamePrefix("eatery-async-");
Expand Down

0 comments on commit a6781b8

Please sign in to comment.