dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8410427
)
Make rebuildLocalisationCache.php also obey --memory-limit if set.
author
Reedy
<reedy@wikimedia.org>
Thu, 2 Aug 2012 22:35:20 +0000
(23:35 +0100)
committer
Reedy
<reedy@wikimedia.org>
Thu, 2 Aug 2012 22:35:20 +0000
(23:35 +0100)
Same as https://gerrit.wikimedia.org/r/17473 for runJobs.php
Change-Id: I352df6c2f46606fe575ef5f52a39175b4aad9f75
maintenance/rebuildLocalisationCache.php
patch
|
blob
|
history
diff --git
a/maintenance/rebuildLocalisationCache.php
b/maintenance/rebuildLocalisationCache.php
index
5915a6b
..
ffe66c6
100644
(file)
--- a/
maintenance/rebuildLocalisationCache.php
+++ b/
maintenance/rebuildLocalisationCache.php
@@
-41,6
+41,9
@@
class RebuildLocalisationCache extends Maintenance {
}
public function memoryLimit() {
+ if ( $this->hasOption( 'memory-limit' ) ) {
+ return parent::memoryLimit();
+ }
return '1000M';
}