zuul连接超时的问题

Instead of allways setting the Zuul Hystrix timeouts to be the default Ribbon connect and read timeouts we now use the following logic.

  • If hystrix.command.commandKey.execution.isolation.thread.timeoutInMilliseconds is set use that timeout
  • Else if hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds is set use that timeout
  • Else if the Ribbon connect and read timeouts are set use the combination of those
  • Else use the default Ribbon connect and read timeouts
hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=60000

你可能感兴趣的:(zuul连接超时的问题)