Commit f2a7c8e1 by Administrator

Update techhero-framework-gateway-local.yml

parent b53f2e7e
...@@ -23,8 +23,8 @@ spring: ...@@ -23,8 +23,8 @@ spring:
publisher-returns: true #确认消息已发送到队列(Queue) publisher-returns: true #确认消息已发送到队列(Queue)
zuul: zuul:
host: host:
connect-timeout-millis: 150000 connect-timeout-millis: 20000
socket-timeout-millis: 150000 socket-timeout-millis: 20000
max-total-connections: 500 max-total-connections: 500
ignoredServices: '*' ignoredServices: '*'
...@@ -38,7 +38,7 @@ hystrix: ...@@ -38,7 +38,7 @@ hystrix:
isolation: isolation:
thread: thread:
#配置hystrix的超时时间,要大于(RibbonReadTimeout + RibbonConnectTimeout) * (MaxAutoRetries + 1) * (MaxAutoRetriesNextServer + 1) #配置hystrix的超时时间,要大于(RibbonReadTimeout + RibbonConnectTimeout) * (MaxAutoRetries + 1) * (MaxAutoRetriesNextServer + 1)
timeout-in-milliseconds: 80000 timeout-in-milliseconds: 20000
strategy: SEMAPHORE strategy: SEMAPHORE
thread-pool: thread-pool:
default: default:
......
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