diff options
Diffstat (limited to 'maintenance/waitForSlave.php')
-rw-r--r-- | maintenance/waitForSlave.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/maintenance/waitForSlave.php b/maintenance/waitForSlave.php index 720ca288..655be43d 100644 --- a/maintenance/waitForSlave.php +++ b/maintenance/waitForSlave.php @@ -1,6 +1,6 @@ <?php /** - * Script to wait until slave lag goes under a certain value. + * Wait until slave lag goes under a certain value. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,8 +22,13 @@ * @see wfWaitForSlaves() */ -require_once( dirname( __FILE__ ) . '/Maintenance.php' ); +require_once( __DIR__ . '/Maintenance.php' ); +/** + * Maintenance script to wait until slave lag goes under a certain value. + * + * @ingroup Maintenance + */ class WaitForSlave extends Maintenance { public function __construct() { $this->addArg( 'maxlag', 'How long to wait for the slaves, default 10 seconds', false ); |