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

Utility to run tasks concurrently #673

Closed
wants to merge 3 commits into from

Conversation

geigerzaehler
Copy link
Collaborator

This commit adds a new util.Queue class that allows one to run several tasks concurrently. In particular we can expensive computations in multiple threads and spawn several processes in parallel. This addresses #663. The code is backed by trollius, a backport of the Python 3.4 asyncio module (see #621).

The convert and replaygain plugins have been extended to use the new utility. They run multiple instances of the ffmpeg and mp3gain commands.

@jtpavlock
Copy link
Contributor

Is this still relevant?

@stale
Copy link

stale bot commented Nov 18, 2020

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 18, 2020
@geigerzaehler geigerzaehler deleted the concurrent-queue branch November 18, 2020 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants