From 8a60ace2a61786b4cb3ebddd6c475326b911f5f4 Mon Sep 17 00:00:00 2001 From: Reedy Date: Wed, 19 Jul 2017 18:35:02 +0100 Subject: [PATCH] Set batch size to 1000 in updateRestrictions As far as can be seen on enwiki, very few rows to update Change-Id: Idf8dee951a5240c4ebaa73fc02c1248a6737b3f8 --- maintenance/updateRestrictions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- 2.20.1