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:
1f650cb
)
(bug 44862) Fixed waitForSlave.php constructor.
author
Tyler Anthony Romeo
<tylerromeo@gmail.com>
Mon, 11 Feb 2013 03:19:35 +0000
(22:19 -0500)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Thu, 14 Feb 2013 09:35:58 +0000
(09:35 +0000)
The Maintenance constructor sets up $IP, so all
maintenance scripts must call the parent constructor.
This fixes waitForSlave.php, which used to not do that.
Change-Id: I7a2a50845805894d87bcae9de9289cae10f1f31f
maintenance/waitForSlave.php
patch
|
blob
|
history
diff --git
a/maintenance/waitForSlave.php
b/maintenance/waitForSlave.php
index
655be43
..
df83928
100644
(file)
--- a/
maintenance/waitForSlave.php
+++ b/
maintenance/waitForSlave.php
@@
-31,6
+31,7
@@
require_once( __DIR__ . '/Maintenance.php' );
*/
class WaitForSlave extends Maintenance {
public function __construct() {
+ parent::__construct();
$this->addArg( 'maxlag', 'How long to wait for the slaves, default 10 seconds', false );
}
public function execute() {