[wp-trac] Re: [WordPress Trac] #8923: cron timeout is too short

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 23 09:14:42 GMT 2009


#8923: cron timeout is too short
--------------------------+-------------------------------------------------
 Reporter:  hailin        |        Owner:  anonymous
     Type:  defect (bug)  |       Status:  new      
 Priority:  normal        |    Milestone:  2.8      
Component:  General       |      Version:           
 Severity:  normal        |   Resolution:           
 Keywords:                |  
--------------------------+-------------------------------------------------
Comment (by westi):

 Replying to [comment:6 hailin]:
 > wp_remote_post is going to wait until all the cron jobs are done, or
 timeout at the proposed 1 sec. 1 sec should be enough for most
 publish_future_posts, but pings can take longer time...

 As Ryan said the whole point of the cron is to go async.

 If we have to block the request that spawns it by 1 second to ensure it
 works we might as well do it in-line :-(

 I think we need to step back and look at how we can achieve the desired
 goal easily in PHP4/5/6 rather than just keep tinkering with the timeouts.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8923#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list