[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:56:55 +0000 (08:56 +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: I1f37fd978984d6c6e4e06ad76b057575f916438b
Resolves: #31252
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/8925
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
typo3/sysext/saltedpasswords/classes/tasks/class.tx_saltedpasswords_tasks_bulkupdate.php

index ede2bb3..54d7fab 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