From 55e923c9eb7654e4cfd99c299d48f7b7912bc59c Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期三, 20 十二月 2023 08:53:57 +0800 Subject: [PATCH] 1、通信中间件多个恒久任务由一个线程执行改为一个恒久任务一个线程执行,原因是单个恒久任务可能用时很长 ; 2、优化通信中间件代码 --- pipIrr-platform/pipIrr-mw/pipIrr-mwTest-server/src/main/resources/Config.xml | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-mw/pipIrr-mwTest-server/src/main/resources/Config.xml b/pipIrr-platform/pipIrr-mw/pipIrr-mwTest-server/src/main/resources/Config.xml index e0a7651..9145942 100644 --- a/pipIrr-platform/pipIrr-mw/pipIrr-mwTest-server/src/main/resources/Config.xml +++ b/pipIrr-platform/pipIrr-mw/pipIrr-mwTest-server/src/main/resources/Config.xml @@ -8,6 +8,8 @@ rtuAddrsPerMwTest: 姣忎釜mwTest鍒嗛厤鐨凴tuAddr鏁� tcpServerIp: 閫氫俊涓棿浠禝P tcpServerPort: 閫氫俊涓棿浠剁鍙� + sendInterval锛氬彂閫佹暟鎹棿闅� 绉� + heartbeatTimes锛氭瘡涓�杞鍙戦�佹暟鎹紝鍏朵腑鍖呮嫭蹇冭烦鍙戦�佹鏁� sendTimes锛氬彂閫佹暟鎹鏁� --> <base @@ -16,6 +18,8 @@ rtuAddrPerMwTest="1" tcpServerIp="127.0.0.1" tcpServerPort="60000" + sendInterval="2" + heartbeatTimes="3" sendTimes="1" /> -- Gitblit v1.8.0