mirror of
https://gitee.com/san-bing/JChargePointProtocol
synced 2026-05-05 02:19:56 +08:00
去掉过期请求逻辑,太泛了
This commit is contained in:
@@ -143,14 +143,6 @@ public class ProtocolUplinkConsumerService extends AbstractConsumerService imple
|
|||||||
|
|
||||||
Callback callback = new PackCallback<>(id, ctx);
|
Callback callback = new PackCallback<>(id, ctx);
|
||||||
|
|
||||||
// 过期请求不处理
|
|
||||||
if (TracerContextUtil.getCurrentTracer().getTracerTs() < (System.currentTimeMillis() - packProcessingTimeout)) {
|
|
||||||
|
|
||||||
callback.onSuccess();
|
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
UplinkQueueMessage uplinkQueueMsg = msg.getValue();
|
UplinkQueueMessage uplinkQueueMsg = msg.getValue();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user