Commit ac4e063b by 毛树良

<fix>:优化

1 parent 79408aa2
...@@ -37,7 +37,7 @@ public class TrafficVehicleScheduled { ...@@ -37,7 +37,7 @@ public class TrafficVehicleScheduled {
@Autowired @Autowired
private TrafficDataConvertHandler trafficDataConvertHandler; private TrafficDataConvertHandler trafficDataConvertHandler;
@Scheduled(cron = "0/5 * * * * ?") @Scheduled(cron = "0/1 * * * * ?")
public void handleVehicle() { public void handleVehicle() {
log.info("开始处理过车数据"); log.info("开始处理过车数据");
if (!Gb1400Constants.LinkStatus) { if (!Gb1400Constants.LinkStatus) {
...@@ -59,7 +59,7 @@ public class TrafficVehicleScheduled { ...@@ -59,7 +59,7 @@ public class TrafficVehicleScheduled {
} }
int offset = 0; int offset = 0;
int limit = 20; int limit = 100;
//utc时间,当前时间减8小时 //utc时间,当前时间减8小时
String event_dt__gte = lastTimeUtc; String event_dt__gte = lastTimeUtc;
String event_dt__lt = currentTimeUtc; String event_dt__lt = currentTimeUtc;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!