Commit c64c50d6294640067717a9b5a9f615a2957e5780
1 parent
7085463e
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 = 2; | |
| 225 | + int minute = 4; | |
| 226 | 226 | Application.mainServices.scheduleWithFixedDelay(scheduleRefreshThread, minute, minute, TimeUnit.MINUTES); |
| 227 | 227 | //24小时清理一次实际排班数据 |
| 228 | 228 | Application.mainServices.scheduleWithFixedDelay(scheduleClearThread, 24, 24, TimeUnit.HOURS); | ... | ... |