websocket: 远程上传配置缓冲区,与超时时间
This commit is contained in:
parent
26f85e1241
commit
3f416885e1
@ -124,6 +124,10 @@ ops:
|
|||||||
websocket:
|
websocket:
|
||||||
enable: true # websocket的开关
|
enable: true # websocket的开关
|
||||||
path: /infra/ws # 路径
|
path: /infra/ws # 路径
|
||||||
|
# 二进制消息缓冲区大小 1MB
|
||||||
|
binary-buffer-size: 1048576
|
||||||
|
# session 最大超时时间 30MIN
|
||||||
|
session-idle-timeout: 1800000
|
||||||
sender-type: local # 消息发送的类型,可选值为 local、redis、rocketmq、kafka、rabbitmq
|
sender-type: local # 消息发送的类型,可选值为 local、redis、rocketmq、kafka、rabbitmq
|
||||||
sender-rocketmq:
|
sender-rocketmq:
|
||||||
topic: ${spring.application.name}-websocket # 消息发送的 RocketMQ Topic
|
topic: ${spring.application.name}-websocket # 消息发送的 RocketMQ Topic
|
||||||
|
Loading…
x
Reference in New Issue
Block a user