Commit 52019398 by zhangy@proudkids.cn

Merge remote-tracking branch 'origin/master'

parents 79ad969c 8fad538d
...@@ -26,8 +26,8 @@ ribbon: ...@@ -26,8 +26,8 @@ ribbon:
enabled: false enabled: false
OkHttp: OkHttp:
enabled: true enabled: true
ReadTimeout: 30000 ReadTimeout: 60000
ConnectTimeout: 30000 ConnectTimeout: 60000
feign: feign:
hystrix: hystrix:
...@@ -42,14 +42,22 @@ feign: ...@@ -42,14 +42,22 @@ feign:
connectTimeout: 30000 connectTimeout: 30000
readTimeout: 30000 readTimeout: 30000
#hystrix:
# command:
# default:
# execution:
# isolation:
# thread:
# timeoutInMilliseconds: 600000
hystrix: hystrix:
command: command:
default: default:
execution: execution:
isolation: timeout: #配置命令的执行,是否会超时
enabled: false
isolation: #命令的执行超时时间 超时将执行回退
thread: thread:
timeoutInMilliseconds: 60000 timeoutInMilliseconds: 60000
#监控短点配置 #监控短点配置
management: management:
security: security:
......
...@@ -26,8 +26,8 @@ ribbon: ...@@ -26,8 +26,8 @@ ribbon:
enabled: false enabled: false
OkHttp: OkHttp:
enabled: true enabled: true
ReadTimeout: 30000 ReadTimeout: 60000
ConnectTimeout: 30000 ConnectTimeout: 60000
feign: feign:
hystrix: hystrix:
...@@ -42,11 +42,20 @@ feign: ...@@ -42,11 +42,20 @@ feign:
connectTimeout: 30000 connectTimeout: 30000
readTimeout: 30000 readTimeout: 30000
#hystrix:
# command:
# default:
# execution:
# isolation:
# thread:
# timeoutInMilliseconds: 600000
hystrix: hystrix:
command: command:
default: default:
execution: execution:
isolation: timeout: #配置命令的执行,是否会超时
enabled: false
isolation: #命令的执行超时时间 超时将执行回退
thread: thread:
timeoutInMilliseconds: 60000 timeoutInMilliseconds: 60000
......
...@@ -26,8 +26,8 @@ ribbon: ...@@ -26,8 +26,8 @@ ribbon:
enabled: false enabled: false
OkHttp: OkHttp:
enabled: true enabled: true
ReadTimeout: 30000 ReadTimeout: 60000
ConnectTimeout: 30000 ConnectTimeout: 60000
feign: feign:
hystrix: hystrix:
...@@ -42,11 +42,20 @@ feign: ...@@ -42,11 +42,20 @@ feign:
connectTimeout: 30000 connectTimeout: 30000
readTimeout: 30000 readTimeout: 30000
#hystrix:
# command:
# default:
# execution:
# isolation:
# thread:
# timeoutInMilliseconds: 600000
hystrix: hystrix:
command: command:
default: default:
execution: execution:
isolation: timeout: #配置命令的执行,是否会超时
enabled: false
isolation: #命令的执行超时时间 超时将执行回退
thread: thread:
timeoutInMilliseconds: 60000 timeoutInMilliseconds: 60000
......
...@@ -83,6 +83,7 @@ zuul: ...@@ -83,6 +83,7 @@ zuul:
quota: 100 quota: 100
refresh-interval: 3 refresh-interval: 3
security: security:
validate: validate:
code: true code: true
......
...@@ -79,6 +79,7 @@ zuul: ...@@ -79,6 +79,7 @@ zuul:
quota: 100 quota: 100
refresh-interval: 3 refresh-interval: 3
security: security:
validate: validate:
code: true code: true
......
...@@ -58,7 +58,6 @@ zuul: ...@@ -58,7 +58,6 @@ zuul:
sensitiveHeaders: sensitiveHeaders:
ratelimit: ratelimit:
key-prefix: proudkids-ratelimite key-prefix: proudkids-ratelimite
enabled: true enabled: true
......
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