[BUGFIX] saltedpasswords update task only updates 42 records
authorMario Rimann <typo3-coding@rimann.org>
Sun, 4 Dec 2011 19:29:08 +0000 (20:29 +0100)
committerTolleiv Nietsch <info@tolleiv.de>
Thu, 9 Feb 2012 07:54:24 +0000 (08:54 +0100)
The scheduler task to convert the fe_user and be_user passwords
to salted passwords took only 42 records per run. Now it should
take 250 per run. This will lead to an approx. run-time of about
50s (given 2 * 100ms * 250 records)

Change-Id: If0751076d284c08b1f61ad4dc772ca53f7a95a39
Resolves: #31252
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/7066
Reviewed-by: Georg Ringer
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
typo3/sysext/saltedpasswords/classes/tasks/class.tx_saltedpasswords_tasks_bulkupdate.php

index 532ff6d..d94c646 100644 (file)
@@ -50,7 +50,7 @@ class tx_saltedpasswords_Tasks_BulkUpdate extends tx_scheduler_Task {
         * @var integer Number of records
         * @TODO: This could be set with an additional field later on
         */
-       protected $numberOfRecords = 42; // 23 is too low ;)
+       protected $numberOfRecords = 250;
 
        /**
         * @var integer Pointer to last handled frontend and backend user row