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

Timeout #46

Open
dgutson opened this issue May 25, 2023 · 3 comments
Open

Timeout #46

dgutson opened this issue May 25, 2023 · 3 comments

Comments

@dgutson
Copy link

dgutson commented May 25, 2023

I suggest to add the ability to set a timeout for running tasks, killing them on expiration.

@justanhduc
Copy link
Owner

Hi @dgutson. Yes it will be a good feature to add. I will come up with an implementation soon.

@dgutson
Copy link
Author

dgutson commented May 27, 2023

Thanks, sometimes tasks hang occupying a slot this turning the whole process slower, not only CPU usage.
If I set task -S 4 but 3 hang overnight, I end up having no parallelism and a night or weekend is lost.
This is a real use case.

@justanhduc
Copy link
Owner

Yeah I myself did need this feature just a few weeks ago. I needed to restart ffmpeg recording regularly to prevent it from freezing, but at that time I had to make do with some hack in bash script.

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

No branches or pull requests

2 participants