dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
598a250
)
Set batch size to 1000 in updateRestrictions
author
Reedy
<reedy@wikimedia.org>
Wed, 19 Jul 2017 17:35:02 +0000
(18:35 +0100)
committer
Reedy
<reedy@wikimedia.org>
Wed, 19 Jul 2017 17:35:02 +0000
(18:35 +0100)
As far as can be seen on enwiki, very few rows to update
Change-Id: Idf8dee951a5240c4ebaa73fc02c1248a6737b3f8
maintenance/updateRestrictions.php
patch
|
blob
|
history
diff --git
a/maintenance/updateRestrictions.php
b/maintenance/updateRestrictions.php
index
02b4405
..
2f3fc36
100644
(file)
--- 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( 100
0
);
}
public function execute() {