Explorar el Código

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

pull/102/head
wubin hace 1 año
padre
commit
0396a56086
Se han modificado 3 ficheros con 9 adiciones y 0 borrados
  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 Ver fichero

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

+ 3
- 0
src/main/resources/application-prod.yml Ver fichero

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

+ 3
- 0
src/main/resources/application-test.yml Ver fichero

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

Cargando…
Cancelar
Guardar