Commit 9e92281b04e906ce7e14c88240f55a6f362495ed
1 parent
23b2b719
update...
Showing
1 changed file
with
1 additions
and
6 deletions
src/main/java/com/bsth/data/msg_queue/DirectivePushQueue.java
| @@ -29,7 +29,7 @@ public class DirectivePushQueue implements ApplicationContextAware { | @@ -29,7 +29,7 @@ public class DirectivePushQueue implements ApplicationContextAware { | ||
| 29 | /** | 29 | /** |
| 30 | * 下发运营指令6003的最小间隔时间 | 30 | * 下发运营指令6003的最小间隔时间 |
| 31 | */ | 31 | */ |
| 32 | - static final int MIN_SEND6003_SPACE = 1000 * 60; | 32 | + static final int MIN_SEND6003_SPACE = 1000 * 30; |
| 33 | 33 | ||
| 34 | /** | 34 | /** |
| 35 | * 车辆 ——> 上次下发6003的时间 | 35 | * 车辆 ——> 上次下发6003的时间 |
| @@ -105,11 +105,6 @@ public class DirectivePushQueue implements ApplicationContextAware { | @@ -105,11 +105,6 @@ public class DirectivePushQueue implements ApplicationContextAware { | ||
| 105 | return linkedList.size(); | 105 | return linkedList.size(); |
| 106 | } | 106 | } |
| 107 | 107 | ||
| 108 | -/* @Override | ||
| 109 | - public void run(String... strings) throws Exception { | ||
| 110 | - start(); | ||
| 111 | - }*/ | ||
| 112 | - | ||
| 113 | @Override | 108 | @Override |
| 114 | public void setApplicationContext(ApplicationContext applicationContext) throws BeansException { | 109 | public void setApplicationContext(ApplicationContext applicationContext) throws BeansException { |
| 115 | directiveService = applicationContext.getBean(DirectiveService.class); | 110 | directiveService = applicationContext.getBean(DirectiveService.class); |