Nukesor / pueue

:stars: Manage your shell commands.
MIT License
4.69k stars 128 forks source link

Allow to disable parallel taks limit #500

Closed ClementNerma closed 4 months ago

ClementNerma commented 4 months ago

A detailed description of the feature you would like to see added.

Allow to disable the limits of parallel running tasks. Idea of implementation: pueue parallel 0 would disable any limit (like many othe rtools do).

Explain your usecase of the requested feature

Not needing to worry about the parallel tasks limit undependently of the usage of pueue.

Alternatives

No response

Additional context

No response

Nukesor commented 4 months ago

I actually like that proposal quite a lot. It's also a reasonable alternative solution to #499.

I assume this shouldn't be too hard to implement, I'll take a look in the next few days :)

Nukesor commented 4 months ago

Implemented the behavior in the linked MR. Also tested it properly on my local setup and it works as expected :)

ClementNerma commented 4 months ago

Ha, I was about to submit my own PR for this but you beat me to it xD Thanks for the feature!