Merge "Set batch size to 1000 in updateRestrictions"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 19 Jul 2017 19:18:29 +0000 (19:18 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 19 Jul 2017 19:18:29 +0000 (19:18 +0000)
maintenance/updateRestrictions.php

index 02b4405..2f3fc36 100644 (file)
@@ -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() {