[TYPO3-dam-devel] RFC #10574: Speedup indexing when max_execution_time = 0

Steffen Gebert steffen at steffen-gebert.de
Sun Mar 1 22:58:34 CET 2009


Hi list,

This is a SVN patch request.

Extension: dam_index

Branches: dam_1-1 / trunk

Type: Bugfix

Reference: http://bugs.typo3.org/view.php?id=10574

Problem:
DAM indexing reloads frame after a runtime of 2/3 of max_execution_time to 
avoid webserver killing the process.

If max_execution_time is set to 0 (=no limit), each file during indexing 
causes a new HTTP request.
$max_execution_time = ini_get('max_execution_time');
$max_execution_time = intval(($max_execution_time/3)*2);
$this->indexEndtime = time()+$max_execution_time;

Solution:
We should use e.g. 60 sec if max_execution_time is 0 to speedup indexing of 
larger amounts of files using slow network connections.

Regards
Steffen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 10574-dam_index-speedup.patch
Type: text/x-patch
Size: 613 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-dam/attachments/20090301/5d4068b6/attachment.bin 


More information about the TYPO3-team-dam mailing list