From 068522ccbe7f3dda27bfd1889187ca4af5b69b8f Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sun, 20 Mar 2011 21:55:54 +0000 Subject: [PATCH] Ugly bug 24375 hack --- maintenance/importDump.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/maintenance/importDump.php b/maintenance/importDump.php index 1491a769b2..71cfbc0603 100644 --- a/maintenance/importDump.php +++ b/maintenance/importDump.php @@ -148,12 +148,15 @@ class BackupReader { $revrate = '-'; } # Logs dumps don't have page tallies - if ( $this->pageCount ) + if ( $this->pageCount ) { $this->progress( "$this->pageCount ($rate pages/sec $revrate revs/sec)" ); - else + } else { $this->progress( "$this->revCount ($revrate revs/sec)" ); + } } wfWaitForSlaves( 5 ); + // XXX: Don't let deferred jobs array get absurdly large (bug 24375) + wfDoUpdates( 'commit' ); } function progress( $string ) { -- 2.20.1