Reedy has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/366301 )

Change subject: Set batch size to 1000 in updateRestrictions
......................................................................

Set batch size to 1000 in updateRestrictions

As far as can be seen on enwiki, very few rows to update

Change-Id: Idf8dee951a5240c4ebaa73fc02c1248a6737b3f8
---
M maintenance/updateRestrictions.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/01/366301/1

diff --git a/maintenance/updateRestrictions.php 
b/maintenance/updateRestrictions.php
index 02b4405..2f3fc36 100644
--- a/maintenance/updateRestrictions.php
+++ b/maintenance/updateRestrictions.php
@@ -36,7 +36,7 @@
        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() {

-- 
To view, visit https://gerrit.wikimedia.org/r/366301
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idf8dee951a5240c4ebaa73fc02c1248a6737b3f8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: wmf/1.30.0-wmf.10
Gerrit-Owner: Reedy <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to