MDL-13204 execution time - give extra time to checker because they can run looong; backported from HEAD

This commit is contained in:
stronk7
2009-05-30 23:55:45 +00:00
parent 29dc93d1cd
commit 82d93b8766
2 changed files with 8 additions and 0 deletions
@@ -208,6 +208,10 @@ class check_bigints extends XMLDBAction {
$o.=' </ul>';
}
$o.=' </li>';
/// Give the script some more time (resetting to current if exists)
if ($currenttl = @ini_get('max_execution_time')) {
@ini_set('max_execution_time',$currenttl);
}
}
$o.=' </ul>';
}
@@ -213,6 +213,10 @@ class check_indexes extends XMLDBAction {
$o.=' </ul>';
}
$o.=' </li>';
/// Give the script some more time (resetting to current if exists)
if ($currenttl = @ini_get('max_execution_time')) {
@ini_set('max_execution_time',$currenttl);
}
}
$o.=' </ul>';
}