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

Unrealistic connect/read timeouts #369

Closed
Corical opened this issue Apr 23, 2018 · 1 comment
Closed

Unrealistic connect/read timeouts #369

Corical opened this issue Apr 23, 2018 · 1 comment

Comments

@Corical
Copy link

Corical commented Apr 23, 2018

Hi, I suggest setting setConnectTimeout() and setReadTimeout() for the URLConnection in DownloadFileTask.

Currently it takes quite a while to timeout when connection is dropped, 30 seconds should be a fair amount.

@MatkovIvan
Copy link
Contributor

Hi @Corical

Thanks for getting in touch.
I've created PR that should fix this. I set the timeout to 60 sec there, I guess it's a more appropriate value.
You can track the status of the change here: #370

Best,
Ivan

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

No branches or pull requests

3 participants