[wp-trac] Re: [WordPress Trac] #2933: Drop ping servers that systematically fail from the ping list

WordPress Trac wp-trac at lists.automattic.com
Tue May 12 13:34:47 GMT 2009


#2933: Drop ping servers that systematically fail from the ping list
-------------------------+--------------------------------------------------
 Reporter:  c960657      |       Owner:  anonymous                    
     Type:  enhancement  |      Status:  new                          
 Priority:  high         |   Milestone:  2.8                          
Component:  XML-RPC      |     Version:  2.8                          
 Severity:  major        |    Keywords:  has-patch commit dev-feedback
-------------------------+--------------------------------------------------

Comment(by Denis-de-Bernardy):

 new patch uploaded implementing this as follows:

  - on failure: increment a counter for the service, once per day at most
  - after 14 such failures (that would mean 14 distinct days during which
 an error occurred!), drop service
  - on success, reset the counter if it's incremented

 in other words, ping services get dropped if they consistently fail, no
 matter what their error message. fixes issues such as:

  - services returning 403/404/410
  - services returning junk (erroneous urls)
  - services that are always down

 I could amend the patch a little bit to have it send a message to the
 site's admin's email, if feedback is absolutely necessary.

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


More information about the wp-trac mailing list