소스 검색

feign请求配置文件(修复请求超时、压缩请求)

ZhangWenQiang 5 년 전
부모
커밋
110056958b

+ 2 - 2
happy-cloud-auth/src/main/resources/bootstrap.yml

@@ -35,8 +35,8 @@ feign:
       enabled: true # 开启feign请求时的压缩, application client -> application service
       mime-types: text/xml,application/xml,application/json # # 设置可以压缩的请求/响应的类型。
       min-request-size: 512 # 当请求的数据容量达到多少的时候,使用压缩。默认是2048字节
-    response:
-      enabled: true # 开启feign技术响应时的压缩,  application service -> application client
+#    response:
+#      enabled: true # 开启feign技术响应时的压缩,  application service -> application client
 resttemplate:
   sentinel:
     enabled: true

+ 2 - 2
happy-cloud-system/happy-cloud-system-biz/src/main/resources/bootstrap.yml

@@ -34,8 +34,8 @@ feign:
       enabled: true # 开启feign请求时的压缩, application client -> application service
       mime-types: text/xml,application/xml,application/json # # 设置可以压缩的请求/响应的类型。
       min-request-size: 512 # 当请求的数据容量达到多少的时候,使用压缩。默认是2048字节
-    response:
-      enabled: true # 开启feign技术响应时的压缩,  application service -> application client
+#    response:
+#      enabled: true # 开启feign技术响应时的压缩,  application service -> application client
 resttemplate:
   sentinel:
     enabled: true

+ 2 - 2
happy-cloud-wisdom/happy-cloud-wisdom-biz/src/main/resources/bootstrap.yml

@@ -33,8 +33,8 @@ feign:
       enabled: true # 开启feign请求时的压缩, application client -> application service
       mime-types: text/xml,application/xml,application/json # # 设置可以压缩的请求/响应的类型。
       min-request-size: 512 # 当请求的数据容量达到多少的时候,使用压缩。默认是2048字节
-    response:
-      enabled: true # 开启feign技术响应时的压缩,  application service -> application client
+#    response:
+#      enabled: true # 开启feign技术响应时的压缩,  application service -> application client
 resttemplate:
   sentinel:
     enabled: true