websocket: 远程上传配置缓冲区,与超时时间

This commit is contained in:
蒲先生 2025-07-15 17:24:55 +08:00
parent 26f85e1241
commit 3f416885e1

View File

@ -124,6 +124,10 @@ ops:
websocket:
enable: true # websocket的开关
path: /infra/ws # 路径
# 二进制消息缓冲区大小 1MB
binary-buffer-size: 1048576
# session 最大超时时间 30MIN
session-idle-timeout: 1800000
sender-type: local # 消息发送的类型,可选值为 local、redis、rocketmq、kafka、rabbitmq
sender-rocketmq:
topic: ${spring.application.name}-websocket # 消息发送的 RocketMQ Topic