diff --git a/src/main/java/com/nexters/goalpanzi/schedule/MissionStatusJob.java b/src/main/java/com/nexters/goalpanzi/schedule/MissionStatusJob.java index 1c7f76d..c4788f2 100644 --- a/src/main/java/com/nexters/goalpanzi/schedule/MissionStatusJob.java +++ b/src/main/java/com/nexters/goalpanzi/schedule/MissionStatusJob.java @@ -18,7 +18,7 @@ public class MissionStatusJob extends AbstractJob implements Custom protected ScheduleBuilder getScheduleBuilder() { // 00:00, 06:00, 12:00, 18:00 마다 실행 return CronScheduleBuilder.cronSchedule("0 0 */6 * * ?") - .withMisfireHandlingInstructionDoNothing(); + .withMisfireHandlingInstructionFireAndProceed(); } @Override diff --git a/src/main/java/com/nexters/goalpanzi/schedule/SchedulerFactoryConfig.java b/src/main/java/com/nexters/goalpanzi/schedule/SchedulerFactoryConfig.java index ddd595b..5022035 100644 --- a/src/main/java/com/nexters/goalpanzi/schedule/SchedulerFactoryConfig.java +++ b/src/main/java/com/nexters/goalpanzi/schedule/SchedulerFactoryConfig.java @@ -16,8 +16,8 @@ public class SchedulerFactoryConfig { @Bean(SCHEDULER_THREAD_POOL_EXECUTOR) public ThreadPoolTaskExecutor executor() { final ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor(); - executor.setCorePoolSize(1); - executor.setMaxPoolSize(1); + executor.setCorePoolSize(3); + executor.setMaxPoolSize(3); executor.setThreadNamePrefix("executor"); executor.initialize(); return executor;