Closed netkiller closed 1 year ago
okhttp
I only found a item of config about okhttp
feign.okhttp.enabled=true
when I set up feign.okhttp.enabled=true, I don't know about how to set 'max-connections' for okhttp.
another question
May I use 'feign.httpclient.max-connections=1000' for okhttp?
Hello @netkiller , yes, that's exactly the right property to use. The properties prefixed feign.httpclient./ spring.cloud.openfeign.httpclient are used for both OkHttpClient and Apache HttpClient.
feign.httpclient.
spring.cloud.openfeign.httpclient
okhttp
I only found a item of config about okhttp
feign.okhttp.enabled=true
when I set up feign.okhttp.enabled=true, I don't know about how to set 'max-connections' for okhttp.
another question
May I use 'feign.httpclient.max-connections=1000' for okhttp?