!7 线程池配置

Merge pull request !7 from guanshubiao/master
This commit is contained in:
随遇而安
2022-03-23 04:56:57 +00:00
committed by Gitee

View File

@@ -82,11 +82,18 @@ spring:
mqtt: mqtt:
username: wumei-smart # 账号 username: wumei-smart # 账号
password: wumei-smart # 密码 password: wumei-smart # 密码
host-url: tcp://localhost:1883 # mqtt连接tcp地址 host-url: tcp://120.25.241.144:1883 # mqtt连接tcp地址
client-id: ${random.value} # 客户端Id不能相同采用随机数 ${random.value} client-id: ${random.value} # 客户端Id不能相同采用随机数 ${random.value}
default-topic: test # 默认主题 default-topic: test # 默认主题
timeout: 60000 # 超时时间 timeout: 60000 # 超时时间
keepalive: 30 # 保持连接 keepalive: 30 # 保持连接
task:
execution:
pool:
core-size: 10 #最小连接数
max-size: 30 #最大连接数
queue-capacity: 3000 #最大容量
# token配置 # token配置
token: token: