Commit 6a2ebf5b by 张兴柱

fixbug

parent 36f7df84
...@@ -85,18 +85,18 @@ zuul: ...@@ -85,18 +85,18 @@ zuul:
hystrix: hystrix:
command: command:
default: default:
execution: execution:
timeout: #配置命令的执行,是否会超时 timeout: #配置命令的执行,是否会超时
enabled: true enabled: true
isolation: #命令的执行超时时间 超时将执行回退 isolation: #命令的执行超时时间 超时将执行回退
thread: thread:
timeoutInMilliseconds: 60000 timeoutInMilliseconds: 60000
ribbon: ribbon:
ReadTimeout: 60000 #读取超时时间 ReadTimeout: 60000 #读取超时时间
ConnectTimeout: 60000 #好像这个没什么用 如果说有人知道这个是什么作用可以评论告诉我一下 ConnectTimeout: 60000
security: security:
......
...@@ -79,6 +79,26 @@ zuul: ...@@ -79,6 +79,26 @@ zuul:
quota: 100 quota: 100
refresh-interval: 3 refresh-interval: 3
hystrix:
command:
default:
execution:
timeout: #配置命令的执行,是否会超时
enabled: true
isolation: #命令的执行超时时间 超时将执行回退
thread:
timeoutInMilliseconds: 60000
ribbon:
ReadTimeout: 60000 #读取超时时间
ConnectTimeout: 60000
security: security:
validate: validate:
code: true code: true
......
...@@ -58,6 +58,20 @@ zuul: ...@@ -58,6 +58,20 @@ zuul:
sensitiveHeaders: sensitiveHeaders:
hystrix:
command:
default:
execution:
timeout: #配置命令的执行,是否会超时
enabled: true
isolation: #命令的执行超时时间 超时将执行回退
thread:
timeoutInMilliseconds: 60000
ribbon:
ReadTimeout: 60000 #读取超时时间
ConnectTimeout: 60000
ratelimit: ratelimit:
key-prefix: proudkids-ratelimite 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