Commit 6a2ebf5b by 张兴柱

fixbug

parent 36f7df84
......@@ -96,7 +96,7 @@ hystrix:
ribbon:
ReadTimeout: 60000 #读取超时时间
ConnectTimeout: 60000 #好像这个没什么用 如果说有人知道这个是什么作用可以评论告诉我一下
ConnectTimeout: 60000
security:
......
......@@ -79,6 +79,26 @@ zuul:
quota: 100
refresh-interval: 3
hystrix:
command:
default:
execution:
timeout: #配置命令的执行,是否会超时
enabled: true
isolation: #命令的执行超时时间 超时将执行回退
thread:
timeoutInMilliseconds: 60000
ribbon:
ReadTimeout: 60000 #读取超时时间
ConnectTimeout: 60000
security:
validate:
code: true
......
......@@ -58,6 +58,20 @@ zuul:
sensitiveHeaders:
hystrix:
command:
default:
execution:
timeout: #配置命令的执行,是否会超时
enabled: true
isolation: #命令的执行超时时间 超时将执行回退
thread:
timeoutInMilliseconds: 60000
ribbon:
ReadTimeout: 60000 #读取超时时间
ConnectTimeout: 60000
ratelimit:
key-prefix: proudkids-ratelimite
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment