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

Async youtube-dl #15

Open
tsani opened this issue Mar 11, 2017 · 1 comment
Open

Async youtube-dl #15

tsani opened this issue Mar 11, 2017 · 1 comment
Assignees

Comments

@tsani
Copy link
Owner

tsani commented Mar 11, 2017

Because youtube-dls are done synchronously (in apollo-dl) nginx sometimes kills the connection because it thinks upstream is dead.

@tsani tsani self-assigned this Mar 11, 2017
@tsani
Copy link
Owner Author

tsani commented Mar 24, 2017

This is actually tricky to do because the youtube-dl routine required working directory locking, which we currently have no way to do nicely via the Job monad. It could be interesting to pass an arbitrary constraint as a type parameter to Job so that when the job is run, we require that this constraint be satisfied. This constraint can be a monad class imbuing our job with the ability to acquire the directory lock.

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