本地广播和出租表示都开启了,帮我添加日志,方便排查问题,另外用户下租赁订单,到节点接收订单消息间隔时间太久了,帮我缩短,提供配置项,默认10左右要能收到订单。
This commit is contained in:
1 parent
849aff5ee1
commit
baffaefc67
6 files changed
+67
-2
No files matched your search
@@ -213,6 +213,9 @@ public class RentalTasks {
|
||||
return true;
|
||||
});
|
||||
if (Boolean.TRUE.equals(assigned)) {
|
||||
log.info("租赁订单已分配 orderId={} nodeId={} orderAgeMs={}", orderId,
|
||||
candidate.get("node_id"), System.currentTimeMillis()
|
||||
- time(initial.get("created_at")).toEpochMilli());
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user