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

Feature/reflection #76

Merged
merged 10 commits into from
Sep 18, 2019
Merged

Feature/reflection #76

merged 10 commits into from
Sep 18, 2019

Conversation

anbsky
Copy link
Collaborator

@anbsky anbsky commented Sep 17, 2019

Changed to use public API. I decided that to make any optimizations like parallel uploads at this point would be premature.

deployments/docker/app/config/lbrytv.yml Outdated Show resolved Hide resolved
// Abort resets the upload schedule and cancels blob upload
// after the currently uploading blob is finished.
func (r *Manager) Abort() {
r.abortTimer <- true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have, but cannot figure out how it would be beneficial to use here instead of two plain channels. Might be a different story if uploads need to be parallelized later.

@lbry-bot lbry-bot assigned anbsky and unassigned lyoshenka and anbsky Sep 17, 2019
@lbry-bot lbry-bot assigned anbsky and unassigned anbsky Sep 18, 2019
@anbsky anbsky merged commit 7045e0d into master Sep 18, 2019
@anbsky anbsky deleted the feature/reflection branch September 19, 2019 14:29
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