[wp-hackers] When a ping is sent ?

David Chait davebytes at comcast.net
Sat Dec 17 19:29:28 GMT 2005

Hmmm.  Slick.  Hadn't thought of that.  I would have thought that apache/php 
had a way of terminating script processing if the connection drops (they 
have a way to terminate script processing if it takes too long! :) ).  But 
if the script takes <30s anyway, you're probably fine on average setup.


----- Original Message ----- 
From: "Andy Skelton" <skeltoac at gmail.com>
To: <wp-hackers at lists.automattic.com>
Sent: Saturday, December 17, 2005 2:07 PM
Subject: Re: [wp-hackers] When a ping is sent ?

On 12/17/05, David Chait <davebytes at comcast.net> wrote:
> How exactly are you running it asynchronously?  Obviously, wouldn't ever
> want an administrative function (pinging from a post) impacting a 
>  >reader<,
> when the time CAN be spent by the >writer<... if/when it's a synchronous
> event. :)

Neither is impacted. In the new function spawn_pinger(), we use
fsockopen to start a new thread via HTTP. AFAIK it's the only
platform-independent way to do this without involving the user agent. 

More information about the wp-hackers mailing list