dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Move OrderedStreamingForkController class from CirrusSearch to core."
[lhc/web/wiklou.git]
/
maintenance
/
updateSpecialPages.php
diff --git
a/maintenance/updateSpecialPages.php
b/maintenance/updateSpecialPages.php
index
c800664
..
5ea3828
100644
(file)
--- a/
maintenance/updateSpecialPages.php
+++ b/
maintenance/updateSpecialPages.php
@@
-42,7
+42,7
@@
class UpdateSpecialPages extends Maintenance {
public function execute() {
global $wgQueryCacheLimit, $wgDisableQueryPageUpdate;
public function execute() {
global $wgQueryCacheLimit, $wgDisableQueryPageUpdate;
- $dbw =
wfG
etDB( DB_MASTER );
+ $dbw =
$this->g
etDB( DB_MASTER );
$this->doSpecialPageCacheUpdates( $dbw );
$this->doSpecialPageCacheUpdates( $dbw );
@@
-109,7
+109,7
@@
class UpdateSpecialPages extends Maintenance {
} while ( !wfGetLB()->pingAll() );
$this->output( "Reconnected\n\n" );
}
} while ( !wfGetLB()->pingAll() );
$this->output( "Reconnected\n\n" );
}
- # Wait for the
slave
to catch up
+ # Wait for the
replica DB
to catch up
wfWaitForSlaves();
} else {
$this->output( "cheap, skipped\n" );
wfWaitForSlaves();
} else {
$this->output( "cheap, skipped\n" );
@@
-153,7
+153,7
@@
class UpdateSpecialPages extends Maintenance {
$this->output( $minutes . 'm ' );
}
$this->output( sprintf( "%.2fs\n", $seconds ) );
$this->output( $minutes . 'm ' );
}
$this->output( sprintf( "%.2fs\n", $seconds ) );
- # Wait for the
slave
to catch up
+ # Wait for the
replica DB
to catch up
wfWaitForSlaves();
}
}
wfWaitForSlaves();
}
}