Skip to content

Commit

Permalink
合并ribbon的配置
Browse files Browse the repository at this point in the history
  • Loading branch information
SoftwareKing authored and jin1.xu committed Nov 7, 2018
1 parent aae74a4 commit 79cc672
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ch8-7/ch8-7-zuul-server/src/main/resources/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ ribbon:
enabled: false
okhttp:
enabled: true
#重试机制配置
ribbon:
#重试机制配置
ConnectTimeout: 3000
ReadTimeout: 60000
MaxAutoRetries: 1 #对第一次请求的服务的重试次数
Expand Down

0 comments on commit 79cc672

Please sign in to comment.