SOURCES: drupal-cron.patch - must increase memory limit before inc...

glen glen at pld-linux.org
Fri Dec 9 19:16:35 CET 2005


Author: glen                         Date: Fri Dec  9 18:16:35 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- must increase memory limit before including anything, otherwise will fail already in initialization stage on amd64

---- Files affected:
SOURCES:
   drupal-cron.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/drupal-cron.patch
diff -u SOURCES/drupal-cron.patch:1.2 SOURCES/drupal-cron.patch:1.3
--- SOURCES/drupal-cron.patch:1.2	Mon Dec  5 12:29:29 2005
+++ SOURCES/drupal-cron.patch	Fri Dec  9 19:16:30 2005
@@ -21,12 +21,16 @@
    }
  
 --- ./cron.php~	2005-01-09 11:22:38.000000000 +0200
-+++ ./cron.php	2005-12-05 13:27:39.904990542 +0200
-@@ -12,6 +12,7 @@
- // If not in 'safe mode', increase the maximum execution time:
- if (!ini_get('safe_mode')) {
-   set_time_limit(240);
++++ ./cron.php	2005-12-09 20:13:27.000000000 +0200
+@@ -6,6 +6,11 @@
+  * Handles incoming requests to fire off regularly-scheduled tasks (cron jobs).
+  */
+ 
++// If not in 'safe mode', increase the memory limit
++if (!ini_get('safe_mode')) {
 +  ini_set('memory_limit', '12M');
- }
++}
++
+ include_once 'includes/bootstrap.inc';
+ include_once 'includes/common.inc' ;
  
- // Check if the last cron run completed
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/drupal-cron.patch?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list