From 43944084c252aeaff64370826e9f129836597efd Mon Sep 17 00:00:00 2001 From: yang <2119157836@qq.com> Date: Fri, 14 Mar 2025 13:44:13 +0800 Subject: [PATCH] =?UTF-8?q?refactor(mcwl-resource):=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=20MQTT=20=E6=B6=88=E6=81=AF=E5=A4=84=E7=90=86=E6=9C=BA?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mcwl-admin/src/main/resources/application-dev.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/mcwl-admin/src/main/resources/application-dev.yml b/mcwl-admin/src/main/resources/application-dev.yml index cf069b8..55350d9 100644 --- a/mcwl-admin/src/main/resources/application-dev.yml +++ b/mcwl-admin/src/main/resources/application-dev.yml @@ -98,7 +98,6 @@ spring: max-active: 1000 # #连接池最大阻塞等待时间(使用负值表示没有限制) max-wait: -1ms - time-between-eviction-runs: 6000 # token配置 @@ -117,7 +116,7 @@ wechat: # 应用密钥 secret: 11218568b79e2c5eb10459ef8c0374bd - #公众号配置 + #公众号配置 #wechat: # # 应用ID # appid: wx82d4c3c96f0ffa5b @@ -164,4 +163,11 @@ huawei: upload: endPoint: obs.cn-south-1.myhuaweicloud.com +mqtt: + broker-url: tcp://192.168.136.128:1883 + client-id-prefix: emqx-client + connection-timeout: 30 + keep-alive-interval: 60 + max-reconnect-attempts: 5 + clean-session: true