springCloud通过网关服务访问分布式内部服务,如果需要自定义访问超时时间:
ribbon:
eureka:
enabled: true
ReadTimeout: 7000
ConnectTimeout: 7000
由于网关内部是通过ribbon来进行服务负载,所有需要配置ribbon
springCloud通过网关服务访问分布式内部服务,如果需要自定义访问超时时间:
ribbon:
eureka:
enabled: true
ReadTimeout: 7000
ConnectTimeout: 7000
由于网关内部是通过ribbon来进行服务负载,所有需要配置ribbon