Feign接口超时时间设置
1 2 3 4 5 6 7 |
#活动调需要时间比较长 hystrix.command.${service-name}.execution.timeout.enabled=true hystrix.command.${service-name}.execution.isolation.thread.timeoutInMilliseconds=4000 #读取超时时间 ${service-name}.ribbon.ReadTimeout=5000 #连接超时时间 ${service-name}.ribbon.ConnectTimeout=3000 |
©版权声明:本文为【翰林小院】(huhanlin.com)原创文章,转载时请注明出处!
作者大佬请问一下${service-name}这个指的是什么呀,微服务的名称吗