Sfoglia il codice sorgente

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

pull/102/head
wubin 1 anno fa
parent
commit
0396a56086
3 ha cambiato i file con 9 aggiunte e 0 eliminazioni
  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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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

Loading…
Annulla
Salva