Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

[Question] What is the approriate value of network connection timeout #9

Closed
huyduongtu opened this issue Jul 20, 2015 · 3 comments
Closed

Comments

@huyduongtu
Copy link

I'm applying your library into my application. My application mostly fetches images from server.
I wanna to know what is the network connection timeout value for each network quality?
How many network threads do you set?
Sorry that it seems not be related to this library. Thanks.

@Alayode
Copy link

Alayode commented Aug 9, 2015

which library are you referring to ?

@huyduongtu
Copy link
Author

I'm using HttpClient for android 2.2 and OkHttpClient for android version >= 2.3.
I wanna to know what is the appropriate value for network timeout for each network quality.
Could you give me some advise? Thanks.

@SeyelentEco
Copy link
Contributor

We don't recommend changing the timeout by network quality. A consistent network timeout allows your application to act consistently and be more predictable.

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

No branches or pull requests

3 participants