Browse Source

gitway添加websocket返回消息体大小默认配置

pull/102/head
wubin 1 year ago
parent
commit
0396a56086
3 changed files with 9 additions and 0 deletions
  1. +3
    -0
      src/main/resources/application-dev.yml
  2. +3
    -0
      src/main/resources/application-prod.yml
  3. +3
    -0
      src/main/resources/application-test.yml

+ 3
- 0
src/main/resources/application-dev.yml View File

health-check-interval: 10s #配置 Consul 健康检查频率,也就是心跳频率。 health-check-interval: 10s #配置 Consul 健康检查频率,也就是心跳频率。
health-check-timeout: 10s #健康检查超时 health-check-timeout: 10s #健康检查超时
gateway: gateway:
httpclient:
websocket:
max-frame-payload-length: 10485760 # 单次通信提交最大数据库设置成10MB
discovery: discovery:
locator: locator:
lowerCaseServiceId: true lowerCaseServiceId: true

+ 3
- 0
src/main/resources/application-prod.yml View File

health-check-interval: 10s #配置 Consul 健康检查频率,也就是心跳频率。 health-check-interval: 10s #配置 Consul 健康检查频率,也就是心跳频率。
health-check-timeout: 10s #健康检查超时 health-check-timeout: 10s #健康检查超时
gateway: gateway:
httpclient:
websocket:
max-frame-payload-length: 10485760 # 单次通信提交最大数据库设置成10MB
discovery: discovery:
locator: locator:
lowerCaseServiceId: true lowerCaseServiceId: true

+ 3
- 0
src/main/resources/application-test.yml View File

health-check-interval: 10s #配置 Consul 健康检查频率,也就是心跳频率。 health-check-interval: 10s #配置 Consul 健康检查频率,也就是心跳频率。
health-check-timeout: 10s #健康检查超时 health-check-timeout: 10s #健康检查超时
gateway: gateway:
httpclient:
websocket:
max-frame-payload-length: 10485760 # 单次通信提交最大数据库设置成10MB
discovery: discovery:
locator: locator:
lowerCaseServiceId: true lowerCaseServiceId: true

Loading…
Cancel
Save