-
Notifications
You must be signed in to change notification settings - Fork 1
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: task time limits (and other related stuff) #11
Conversation
The next big question is this: how do we correctly and safely set up a real time limit on Unix? It seems not everyone may have |
While we're at it, we are also adding tests to assert the task runner is really being run silently. |
Further study required!
The original plan was to somehow get the basic test cases passing, then work on edge case test cases, but it turned out, the very intense bug-fixing involved one of the do-it-later edge cases... |
|
The default task time limit is 30 seconds, just as the PHP default. Time limit can be disabled, but be careful with runaway processes.
We are talking about real time limit. Time spent on sleeping, waiting, etc will also be counted.