Browse Source

feign超时配置

chenw 7 years ago
parent
commit
f895972c79
1 changed files with 3 additions and 0 deletions
  1. 3 0
      base-servers/auth/auth-server/src/main/resources/application.yml

+ 3 - 0
base-servers/auth/auth-server/src/main/resources/application.yml

@@ -85,3 +85,6 @@ auth:
   cookie:
     name: uid
     secret-key: 0taQcW073Z7G628g5H
+ribbon:
+  ReadTimeout: 5000
+  ConnectTimeout: 5000