#193383 follow up by TheRec: (regression) - some set_time_limit() numbers were inadvertently removed in the previous patch.
parent
e8b0918a1a
commit
a8a21a56c9
|
@ -2662,7 +2662,7 @@ function page_set_cache() {
|
|||
function drupal_cron_run() {
|
||||
// Try to allocate enough time to run all the hook_cron implementations.
|
||||
if (function_exists('set_time_limit')) {
|
||||
@set_time_limit($time_limit);
|
||||
@set_time_limit(240);
|
||||
}
|
||||
|
||||
// Fetch the cron semaphore
|
||||
|
|
|
@ -2320,7 +2320,7 @@ function node_access_rebuild($batch_mode = FALSE) {
|
|||
else {
|
||||
// Try to allocate enough time to rebuild node grants
|
||||
if (function_exists('set_time_limit')) {
|
||||
@set_time_limit($time_limit);
|
||||
@set_time_limit(240);
|
||||
}
|
||||
$result = db_query("SELECT nid FROM {node}");
|
||||
while ($node = db_fetch_object($result)) {
|
||||
|
|
Loading…
Reference in New Issue