Index: branches/wmf/1.16wmf4/maintenance/refreshCategoryCounts.php |
— | — | @@ -22,7 +22,7 @@ |
23 | 23 | require_once( dirname( __FILE__ ) . '/Maintenance.php' ); |
24 | 24 | |
25 | 25 | class RefreshCategoryCounts extends Maintenance { |
26 | | - const REPORTING_INTERVAL = 1000; |
| 26 | + const REPORTING_INTERVAL = 100; |
27 | 27 | |
28 | 28 | public function __construct() { |
29 | 29 | $this->mDescription = 'Refreshes category counts'; |
— | — | @@ -46,6 +46,7 @@ |
47 | 47 | $maxlag = intval( $maxlag ); |
48 | 48 | $throttle = intval( $throttle ); |
49 | 49 | $id = $start; |
| 50 | + $wiki = $dbw->getWikiID(); |
50 | 51 | |
51 | 52 | $i = 0; |
52 | 53 | while ( true ) { |
— | — | @@ -74,7 +75,7 @@ |
75 | 76 | |
76 | 77 | $i++; |
77 | 78 | if ( !( $i % self::REPORTING_INTERVAL ) ) { |
78 | | - $this->output( "$id\n" ); |
| 79 | + $this->output( "$wiki: $id\n" ); |
79 | 80 | wfWaitForSlaves( $maxlag ); |
80 | 81 | } |
81 | 82 | usleep( $throttle * 1000 ); |