Merge and clean up memory_limit hacks from wmf-deployment r53208.
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 14 Sep 2009 22:10:10 +0000 (22:10 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 14 Sep 2009 22:10:10 +0000 (22:10 +0000)
commit7764794ddbf85e75e8352a98291792013fce52f0
tree8b2f06275e2c5ecca8f213a4311d54fa69c9aba6
parent3a70821dab8b4e2d684e34c701ae0184afb14059
Merge and clean up memory_limit hacks from wmf-deployment r53208.
Added a memoryLimit() method on Maintenance class which allows scripts to override the memory limit; normally we disable the limit but sometimes you actually want to set one to avoid eating up RAM on the machine if something goes awry.
maintenance/Maintenance.php
maintenance/gearman/gearmanWorker.php
maintenance/rebuildLocalisationCache.php
maintenance/runJobs.php