Commit 44e6099fa40536aa8d34826a5b8b4110a1a80a50
1 parent
12ac36af
update...
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/bsth/redis/ScheduleRedisService.java
| ... | ... | @@ -222,7 +222,7 @@ public class ScheduleRedisService implements CommandLineRunner { |
| 222 | 222 | wirte(list); |
| 223 | 223 | |
| 224 | 224 | //定时刷新一次当日实际排班 |
| 225 | - int minute = 4; | |
| 225 | + int minute = 10; | |
| 226 | 226 | Application.mainServices.scheduleWithFixedDelay(scheduleRefreshThread, minute, minute, TimeUnit.MINUTES); |
| 227 | 227 | //24小时清理一次实际排班数据 |
| 228 | 228 | Application.mainServices.scheduleWithFixedDelay(scheduleClearThread, 24, 24, TimeUnit.HOURS); | ... | ... |