Fix --memory-limit option to maintenance scripts
authorBrian Wolff <bawolff+wn@gmail.com>
Wed, 28 Mar 2018 01:20:07 +0000 (01:20 +0000)
committerBrian Wolff <bawolff+wn@gmail.com>
Wed, 28 Mar 2018 01:20:07 +0000 (01:20 +0000)
commitfba014820b8c210d40685d064ce081cbead0d02a
tree5752dd591490fa93cdba0f33d821de44837a6b27
parenta95af60e7f4b9bd7574acad39e3f618088bc2d75
Fix --memory-limit option to maintenance scripts

Follow up 2f293bd0. Previously this option was marked as not
taking an argument, thus if present it would have the value of
true (aka 1). Setting memory limit to 1 results in setting to
256kb, which is way too small.

Change-Id: I2a6e512e384c5ef882f7ba2877091ecb8fe01e35
maintenance/Maintenance.php