From: Aaron Schulz Date: Sun, 20 Mar 2011 21:55:54 +0000 (+0000) Subject: Ugly bug 24375 hack X-Git-Tag: 1.31.0-rc.0~31281 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/categories/modifier.php?a=commitdiff_plain;h=068522ccbe7f3dda27bfd1889187ca4af5b69b8f;p=lhc%2Fweb%2Fwiklou.git Ugly bug 24375 hack --- 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 ) {