refactor(mcwl-resource): 调整 MQTT 消息处理机制

master
yang 2025-03-14 13:44:13 +08:00
parent 41d617b26f
commit 43944084c2
1 changed files with 8 additions and 2 deletions

View File

@ -98,7 +98,6 @@ spring:
max-active: 1000 max-active: 1000
# #连接池最大阻塞等待时间(使用负值表示没有限制) # #连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait: -1ms max-wait: -1ms
time-between-eviction-runs: 6000
# token配置 # token配置
@ -117,7 +116,7 @@ wechat:
# 应用密钥 # 应用密钥
secret: 11218568b79e2c5eb10459ef8c0374bd secret: 11218568b79e2c5eb10459ef8c0374bd
#公众号配置 #公众号配置
#wechat: #wechat:
# # 应用ID # # 应用ID
# appid: wx82d4c3c96f0ffa5b # appid: wx82d4c3c96f0ffa5b
@ -164,4 +163,11 @@ huawei:
upload: upload:
endPoint: obs.cn-south-1.myhuaweicloud.com 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