【发布时间】:2018-09-21 14:11:53
【问题描述】:
如何在spring的@feignclient配置中设置自定义最大连接池大小,
@FeignClient(name = "content-cms", configuration = ContentCmsServiceFeignConfig.class)
public interface FeignService {
@RequestMapping(value = "/test/", method = RequestMethod.GET)
String getSample(@RequestParam("token") String token, @RequestParam("cid") String cid,
@RequestParam("ratio") String ratio, @RequestParam("s") String source);
}
【问题讨论】:
-
你在说什么线程池?
-
我说的是连接池,默认情况下我只能看到200个连接池大小。我可以增加那个吗。有什么办法
-
@robp 你能详细说明一下吗,我可以看到你在查询中使用了相同的:stackoverflow.com/questions/36153138/…
标签: java spring-cloud spring-cloud-netflix netflix-feign feign