增加任务执行逻辑
parent
ed61bb6973
commit
0cf9ccb431
|
@ -136,8 +136,8 @@ public class VehicleInstance {
|
||||||
options.setPassword(mqttProperties.getPassword().toCharArray());
|
options.setPassword(mqttProperties.getPassword().toCharArray());
|
||||||
}
|
}
|
||||||
|
|
||||||
options.setConnectionTimeout(60);
|
options.setConnectionTimeout(1);
|
||||||
options.setKeepAliveInterval(60);
|
options.setKeepAliveInterval(20);
|
||||||
// 连接
|
// 连接
|
||||||
client.connect(options);
|
client.connect(options);
|
||||||
log.debug("车辆:[{}] 客户端初始化成功连接配置:{}", getVin(),
|
log.debug("车辆:[{}] 客户端初始化成功连接配置:{}", getVin(),
|
||||||
|
|
Loading…
Reference in New Issue