Feign调用超时

feign调用超时 默认feign调用超时是1秒,断点调试是否调用成功肯定超时

feign.hystrix.enabled=true
#feign调用默认是1000毫秒=1秒    add by six-vision
hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=30000
hystrix.command.default.circuitBreaker.sleepWindowInMilliseconds=30000
hystrix.command.default.circuitBreaker.forceClosed=true
#hystrix.command.default.execution.timeout.enabled=false
#请求处理的超时时间  add by six-vision
ribbon.ReadTimeout=30000
ribbon.SocketTimeout=30000
#请求连接的超时时间 add by six-vision
ribbon.ConnectTimeout: 30000

相关文章:

  • 2022-02-08
  • 2021-11-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-02
  • 2021-10-28
  • 2021-06-12
猜你喜欢
  • 2021-04-08
  • 2021-05-22
  • 2022-12-23
  • 2021-11-06
  • 2021-08-19
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案