Skip to content

Commit

Permalink
增加Ribbon配置
Browse files Browse the repository at this point in the history
  • Loading branch information
HaojunRen committed Nov 12, 2022
1 parent b8afd10 commit 441bdb1
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ spring.cloud.nacos.discovery.server-addr=localhost:8848
# Nacos config for rule
spring.cloud.nacos.config.server-addr=localhost:8848

# Ribbon config
ribbon.ServerListRefreshInterval=5000
ribbon.ConnectTimeout=60000
ribbon.ReadTimeout=60000
ribbon.maxAutoRetries=3
ribbon.maxAutoRetriesNextServer=3
ribbon.okToRetryOnAllOperations=true

# 精简教程,请访问
# https://github.com/Nepxion/Discovery/wiki
# https://gitee.com/nepxion/Discovery/wikis
Expand Down

0 comments on commit 441bdb1

Please sign in to comment.