#193383 follow up by TheRec: (regression) - some set_time_limit() numbers were inadvertently removed in the previous patch.

6.x
Gábor Hojtsy 2009-09-23 09:09:30 +00:00
parent e8b0918a1a
commit a8a21a56c9
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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)) {