Skip to content

Commit 79cc672

Browse files
SoftwareKingjin1.xu
authored andcommitted
合并ribbon的配置
1 parent aae74a4 commit 79cc672

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ch8-7/ch8-7-zuul-server/src/main/resources/bootstrap.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ ribbon:
3131
enabled: false
3232
okhttp:
3333
enabled: true
34-
#重试机制配置
35-
ribbon:
34+
#重试机制配置
3635
ConnectTimeout: 3000
3736
ReadTimeout: 60000
3837
MaxAutoRetries: 1 #对第一次请求的服务的重试次数

0 commit comments

Comments
 (0)