Index: trunk/phase3/maintenance/importDump.php |
— | — | @@ -148,12 +148,15 @@ |
149 | 149 | $revrate = '-'; |
150 | 150 | } |
151 | 151 | # Logs dumps don't have page tallies |
152 | | - if ( $this->pageCount ) |
| 152 | + if ( $this->pageCount ) { |
153 | 153 | $this->progress( "$this->pageCount ($rate pages/sec $revrate revs/sec)" ); |
154 | | - else |
| 154 | + } else { |
155 | 155 | $this->progress( "$this->revCount ($revrate revs/sec)" ); |
| 156 | + } |
156 | 157 | } |
157 | 158 | wfWaitForSlaves( 5 ); |
| 159 | + // XXX: Don't let deferred jobs array get absurdly large (bug 24375) |
| 160 | + wfDoUpdates( 'commit' ); |
158 | 161 | } |
159 | 162 | |
160 | 163 | function progress( $string ) { |