Эх сурвалжийг харах

更新feign超时时间配置

woody 1 жил өмнө
parent
commit
4810d1c5fd

+ 11 - 0
src/main/resources/application.yml

@@ -1,6 +1,17 @@
 server:
   port: 11000
 
+feign:
+  hystrix:
+    enabled: false
+  httpclient:
+    enabled: true
+  client:
+    config:
+      default:
+        readTimeout: 30000
+        connectTimeout: 5000
+
 spring:
   main:
     allow-bean-definition-overriding: true