[wp-trac] [WordPress Trac] #36241: Feed timeout defaults to 10 seconds

WordPress Trac noreply at wordpress.org
Mon Mar 14 23:33:01 UTC 2016


#36241: Feed timeout defaults to 10 seconds
--------------------------+-----------------------------
 Reporter:  porcospino    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Feeds         |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 SimplePie's default timeout to fetch a feed is 10 seconds.  If you add a
 feed that is unavailable, it can make your site unresponsive.  I suggest a
 line like

 $feed->set_timeout( 2 );

 be added to the fetch_feed function

 https://developer.wordpress.org/reference/functions/fetch_feed/

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36241>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list