Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClientHelper getOkHttpClient有并发问题 #155

Open
lfz757077613 opened this issue May 11, 2022 · 1 comment
Open

ClientHelper getOkHttpClient有并发问题 #155

lfz757077613 opened this issue May 11, 2022 · 1 comment

Comments

@lfz757077613
Copy link

image

@Mad-Thanos
Copy link

这里还有另外一个问题,map中携带的connectTimeout/readTimeout等参数,会被遗弃, 没有真正设置到client中去。
复用client的确是OkHttpClient官方推荐的做法,但是如果上层想要设定一个不同的readTimeout时间, 那就没机会了,因为OkHttpClientBuilder没有执行起来。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants