[wp-trac] [WordPress Trac] #12595: import from movable type can timeout and doesn't obey php max_execution_time

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 13 05:49:38 UTC 2010


#12595: import from movable type can timeout and doesn't obey php
max_execution_time
--------------------------+-------------------------------------------------
 Reporter:  stevecrozz    |       Owner:                                                
     Type:  defect (bug)  |      Status:  new                                           
 Priority:  normal        |   Milestone:                                                
Component:  Import        |     Version:  3.0                                           
 Severity:  normal        |    Keywords:  movable type, import, has-patch, needs-testing
--------------------------+-------------------------------------------------

Comment(by dd32):

 To quote [http://au2.php.net/set_time_limit PHP.net's set_time_limit()
 page]:

 > When called, set_time_limit() restarts the timeout counter from zero. In
 other words, if the timeout is the default 30 seconds, and 25 seconds into
 script execution a call such as set_time_limit(20) is made, the script
 will run for a total of 45 seconds before timing out.

 PHP may be configured to have a hard cutoff limit applied as well i
 believe, that cannot be extended via set_time_limit();

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12595#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list