Commit 6dddcb0ffed2ef3eb8e8103fd377996895719013
1 parent
18c2bbea
1.调度接口中加载当天实际排班信息的调度器改到5分钟一次调度作业
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/bsth/redis/ScheduleRedisService.java
| ... | ... | @@ -212,7 +212,7 @@ public class ScheduleRedisService implements CommandLineRunner { |
| 212 | 212 | }, 5, TimeUnit.SECONDS); |
| 213 | 213 | |
| 214 | 214 | //定时刷新一次当日实际排班 |
| 215 | - int minute = 10; | |
| 215 | + int minute = 5; | |
| 216 | 216 | Application.mainServices.scheduleWithFixedDelay(scheduleRefreshThread, minute, minute, TimeUnit.MINUTES); |
| 217 | 217 | //24小时清理一次实际排班数据 |
| 218 | 218 | Application.mainServices.scheduleWithFixedDelay(scheduleClearThread, 24, 24, TimeUnit.HOURS); | ... | ... |