Merge branch 'server_five' of https://gitea.qinmian.online/five-groups/five-groups-couplet into server_five_liuyunhu
commit
9b0121446a
|
@ -68,7 +68,6 @@ public class FenceConsumer {
|
||||||
log.error("消息已丢失,已再次传入的信息是:【{}】", fenceUpdateRequest);
|
log.error("消息已丢失,已再次传入的信息是:【{}】", fenceUpdateRequest);
|
||||||
channel.basicNack(deliveryTag, true, false);
|
channel.basicNack(deliveryTag, true, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -110,11 +110,12 @@ public class ModelMessage {
|
||||||
IncidentService incidentService = SpringUtils.getBean(string);
|
IncidentService incidentService = SpringUtils.getBean(string);
|
||||||
incidentService.incident(msgData);
|
incidentService.incident(msgData);
|
||||||
}
|
}
|
||||||
try {
|
// 不睡眠,他们也会主动拉取数据,不会影响其他服务
|
||||||
Thread.sleep(1000);
|
// try {
|
||||||
} catch (InterruptedException e) {
|
// Thread.sleep(1000);
|
||||||
throw new RuntimeException(e);
|
// } catch (InterruptedException e) {
|
||||||
}
|
// throw new RuntimeException(e);
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue