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 buffer figure #1014

Merged
merged 3 commits into from
Dec 16, 2019
Merged

Conversation

innocente205
Copy link
Contributor

Buffer was being calculated solely from the upload figure divided by the config ratio. It should also take into account the amount already downloaded. Hence (uploaded - downloaded) / ratio.

buffer was being calculated solely on the upload figure, whereas it should be the uploaded less the amount already downloaded.
No one is perfect!
@innocente205
Copy link
Contributor Author

Should have been (uploaded/ratio) - downloaded

@HDVinnie HDVinnie merged commit e561385 into HDInnovations:master Dec 16, 2019
@innocente205 innocente205 deleted the fix-buffer-figure branch December 16, 2019 12:22
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