Commit 54e4bbc8c8b40ffaabfd5e3caf50f27316d07269
1 parent
509c5c5e
迁移到 24
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/bsth/redis/OilRedisService.java
| @@ -124,7 +124,7 @@ public class OilRedisService implements CommandLineRunner { | @@ -124,7 +124,7 @@ public class OilRedisService implements CommandLineRunner { | ||
| 124 | @Override | 124 | @Override |
| 125 | public void run(String... strings) throws Exception { | 125 | public void run(String... strings) throws Exception { |
| 126 | //定时刷新油耗信息 | 126 | //定时刷新油耗信息 |
| 127 | - Application.mainServices.scheduleWithFixedDelay(oilRefreshThread, 20, 60 * 30, TimeUnit.SECONDS); | 127 | + Application.mainServices.scheduleWithFixedDelay(oilRefreshThread, 40, 60 * 40, TimeUnit.SECONDS); |
| 128 | } | 128 | } |
| 129 | 129 | ||
| 130 | /** | 130 | /** |