Commit e1cfcab1 authored by 赵啸非's avatar 赵啸非

添加监控节点

parent a2fdfa4c
......@@ -57,7 +57,7 @@ public class DeviceDownMsgThread extends AbstractThread {
@Override
protected void process() {
log.info("DeviceDownMsgThread process");
//log.info("DeviceDownMsgThread process");
DeviceMsgReq deviceMsgReq = cacheService.blpop(KEY_DEVICE_DOWN_MSG_QUEUE, 10, DeviceMsgReq.class);
if (!ObjectUtils.isEmpty(deviceMsgReq)) {
log.info("下发消息:{}", deviceMsgReq.getDeviceCode());
......
......@@ -38,12 +38,12 @@ public class DeviceUpdateComsumerThread extends AbstractThread {
@Override
protected void process() {
log.info("DeviceUpdateComsumerThread process");
// log.info("DeviceUpdateComsumerThread process");
List<DeviceEntity> waitUpdateDeviceList = new ArrayList<>();
while (true) {
DeviceEntity deviceEntity = cacheService.blpop(RedisKey.KEY_DEVICE_UPDATE_QUEUE, 10,DeviceEntity.class);
if (ObjectUtils.isEmpty(deviceEntity)) {
log.info("deviceEntity:{}", deviceEntity == null);
// log.info("deviceEntity:{}", deviceEntity == null);
break;
} else {
waitUpdateDeviceList.add(deviceEntity);
......
......@@ -45,7 +45,7 @@ public class SendThirdPartyThread extends AbstractThread {
@Override
protected void process() {
log.info("SendThirdPartyThread process");
//log.info("SendThirdPartyThread process");
DeviceReq deviceReq = cacheService.blpop(KEY_DEVICE_THIRDPARTY_QUEUE, 10, DeviceReq.class);
if (!ObjectUtils.isEmpty(deviceReq)) {
String phpInUrl = GlobalSysInfo.getParamValue(PARAM_SERVER_PHP_IN_HTTP_URL, "http://127.0.0.1:11078/zwfw_api");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment