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

Patch for /trunk/FileDownloader.cs #3

Open
GoogleCodeExporter opened this issue Aug 13, 2015 · 0 comments
Open

Patch for /trunk/FileDownloader.cs #3

GoogleCodeExporter opened this issue Aug 13, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Currently there is a progress event generated every time data is read from the 
socket/file. For large files this can cause issues, as there may be over 
500,000 reads to complete the download. We noticed the download was finished in 
the username/wc/ cache but the UI was still showing the download progress and 
WAY behind (showing 50% when the file was already fully downloaded)

The attached patch will only generate progress events when the PercentDone 
increases, preventing overloading the event loop/UI thread. For large update 
files (starting around 500MB but most noticeable above 1.5GB) this will fix 
issues where the update seems to be downloading extremely slow.

Original issue reported on code.google.com by greg.b...@gmail.com on 23 Jun 2014 at 10:03

Attachments:

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

No branches or pull requests

1 participant