jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/366302 )
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(-)
Approvals:
Niharika29: Looks good to me, approved
jenkins-bot: Verified
diff --git a/maintenance/updateRestrictions.php
b/maintenance/updateRestrictions.php
index 96eaf82..c0503c5 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/366302
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Idf8dee951a5240c4ebaa73fc02c1248a6737b3f8
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/core
Gerrit-Branch: wmf/1.30.0-wmf.9
Gerrit-Owner: Reedy <[email protected]>
Gerrit-Reviewer: Niharika29 <[email protected]>
Gerrit-Reviewer: Parent5446 <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits