Commit a8a21a56 authored by Gábor Hojtsy's avatar Gábor Hojtsy

#193383 follow up by TheRec: (regression) - some set_time_limit() numbers were...

#193383 follow up by TheRec: (regression) - some set_time_limit() numbers were inadvertently removed in the previous patch.
parent e8b0918a
......@@ -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)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment