Merge branch 'develop' into 1706-lock
This commit is contained in:
commit
f4652d6e50
31 changed files with 19040 additions and 7890 deletions
|
|
@ -391,7 +391,8 @@ function poller_kill_stale_workers() {
|
|||
if (!in_array($pid["priority"], array(PRIORITY_CRITICAL, PRIORITY_HIGH, PRIORITY_MEDIUM, PRIORITY_LOW, PRIORITY_NEGLIGIBLE))) {
|
||||
$pid["priority"] = PRIORITY_MEDIUM;
|
||||
}
|
||||
// Define the maximum durations
|
||||
|
||||
// Define the maximum durations
|
||||
$max_duration_defaults = array(PRIORITY_CRITICAL => 360, PRIORITY_HIGH => 10, PRIORITY_MEDIUM => 60, PRIORITY_LOW => 180, PRIORITY_NEGLIGIBLE => 360);
|
||||
$max_duration = $max_duration_defaults[$pid["priority"]];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue