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

fix: transfer timeouts and progress bar stall #128

Merged
merged 2 commits into from
Apr 24, 2024

Conversation

kfsone
Copy link
Contributor

@kfsone kfsone commented Apr 24, 2024

transfers need to have a timeout or else the app will hang forever, and some linters cry about it.

I also made it multiply the anticipated length when downloading gzip files, as the server tells us the compressed size but we received uncompressed data so our counts are off.

kfsone added 2 commits April 24, 2024 10:44
5 minutes was a bit long, 90s seems more reasonable tho it could probably go as low as 30.
when downloading a large and extremely compressed file, user feedback would stop after we had received an uncompressed amount of data equal to the compressed size of the data.

Downloading the spansh galaxy data, for example, only transfers 1.5GB of data after compression, but the file itself expands to over 9GB, resulting in the progress bar sticking at 1.5GB and looking as though it has failed/hung.
@eyeonus eyeonus merged commit 1801216 into eyeonus:release/v1 Apr 24, 2024
10 of 11 checks passed
@kfsone kfsone deleted the fix/transfer-timeouts branch April 25, 2024 06:45
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

Successfully merging this pull request may close these issues.

2 participants