From: Reedy Date: Wed, 19 Jul 2017 17:35:02 +0000 (+0100) Subject: Set batch size to 1000 in updateRestrictions X-Git-Tag: 1.31.0-rc.0~2664^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=8a60ace2a61786b4cb3ebddd6c475326b911f5f4 Set batch size to 1000 in updateRestrictions As far as can be seen on enwiki, very few rows to update Change-Id: Idf8dee951a5240c4ebaa73fc02c1248a6737b3f8 --- diff --git a/maintenance/updateRestrictions.php b/maintenance/updateRestrictions.php index 02b4405cf4..2f3fc36534 100644 --- a/maintenance/updateRestrictions.php +++ b/maintenance/updateRestrictions.php @@ -36,7 +36,7 @@ class UpdateRestrictions extends Maintenance { public function __construct() { parent::__construct(); $this->addDescription( 'Updates page_restrictions table from old page_restriction column' ); - $this->setBatchSize( 100 ); + $this->setBatchSize( 1000 ); } public function execute() {