配置类: @Configuration public class FeignConfiguration { @Bean(name="remoteRestTemplate") public RestTemplate RestTemplate(){ SimpleClientHttpRequestFactory requestFactory = new SimpleClientHttpRequestFactory(); requestFactory.setConnectTimeout(500
Directives aio Syntax: aio on | off | threads[=pool]; Default: aio off; Context: http, server, location This directive appeared in version 0.8.11. 在FreeBSD和Linux上启用或禁用异步文件I / O(AIO)的使用.在Linux上,AIO可以从内核版本2.6.22开始使用.此外,有必要启用directio,否则读取将阻塞: location /