From: <gem...@li...> - 2012-03-01 10:53:22
|
Revision: 523 http://gemstracker.svn.sourceforge.net/gemstracker/?rev=523&view=rev Author: mennodekker Date: 2012-03-01 10:53:11 +0000 (Thu, 01 Mar 2012) Log Message: ----------- Report back after first step so we know something is happening Modified Paths: -------------- trunk/library/classes/MUtil/Batch/BatchAbstract.php Modified: trunk/library/classes/MUtil/Batch/BatchAbstract.php =================================================================== --- trunk/library/classes/MUtil/Batch/BatchAbstract.php 2012-03-01 09:36:15 UTC (rev 522) +++ trunk/library/classes/MUtil/Batch/BatchAbstract.php 2012-03-01 10:53:11 UTC (rev 523) @@ -571,7 +571,7 @@ // error_log('Rep: ' . $reportRun); while ($this->step()) { // error_log('Cur: ' . microtime(true) . ' report is '. (microtime(true) > $reportRun ? 'true' : 'false')); - if (microtime(true) > $reportRun) { + if ($this->_session->processed == 1 || microtime(true) > $reportRun) { // Communicate progress $bar->update($this->getProgressPercentage(), $this->getLastMessage()); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |