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

网络请求超时时间设置问题 #74

Open
packageOk opened this issue Dec 1, 2023 · 0 comments
Open

网络请求超时时间设置问题 #74

packageOk opened this issue Dec 1, 2023 · 0 comments

Comments

@packageOk
Copy link

Version of UCloud SDK?

1.2.19-release

Version of Java (java -version)?

java 8

What issue did you see?

你好,我比较关心网络请求超时时间,我看了下代码,默认的超时时间Config.timeout = 30,通过ValidationMiddleware类传到RequestOptions.$timeout中,然后就没找到其他地方会使用timeout了,DefaultTransport类里用HttpClient的时候,也没有设置相关超时时间的代码,所以有些担心超时时间是否有效,想请教下代码在哪里把超时时间传给HttpClient的

Steps to reproduce

If you have have an runnable example, please include it.

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

1 participant