From: <gem...@li...> - 2012-02-15 14:23:17
|
Revision: 481 http://gemstracker.svn.sourceforge.net/gemstracker/?rev=481&view=rev Author: mennodekker Date: 2012-02-15 14:23:06 +0000 (Wed, 15 Feb 2012) Log Message: ----------- Increase minimal step for tokenbatch, to speed up larger batches Modified Paths: -------------- branches/1.5.x/library/classes/Gems/Tracker/Batch/ProcessTokensBatch.php Modified: branches/1.5.x/library/classes/Gems/Tracker/Batch/ProcessTokensBatch.php =================================================================== --- branches/1.5.x/library/classes/Gems/Tracker/Batch/ProcessTokensBatch.php 2012-02-15 14:10:14 UTC (rev 480) +++ branches/1.5.x/library/classes/Gems/Tracker/Batch/ProcessTokensBatch.php 2012-02-15 14:23:06 UTC (rev 481) @@ -58,6 +58,11 @@ */ protected $translate; + /** + * Set a little higher, to reduce the effect of the server response time and application startup + */ + public $minimalStepDurationMs = 3000; + public function addToken($tokenData, $userId) { if (is_array($tokenData)) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |