[wp-trac] [WordPress Trac] #41358: Shutdown hooks can significantly slow down REST API responses

WordPress Trac noreply at wordpress.org
Wed Jan 9 01:05:21 UTC 2019


#41358: Shutdown hooks can significantly slow down REST API responses
-------------------------------------------------+-------------------------
 Reporter:  mikejolley                           |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  REST API                             |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch dev-feedback needs-        |     Focuses:  rest-api,
  testing                                        |  performance
-------------------------------------------------+-------------------------

Comment (by tellyworth):

 In [changeset:"44488" 44488]:
 {{{
 #!CommitTicketReference repository="" revision="44488"
 Cron API: Make wp-cron.php non-blocking where possible.

 This should make cron spawning faster by ensuring requests to wp-cron.php
 return immediately regardless of transport method. It is enabled only on
 recent PHP versions with fastcgi, due to historical bugs and availability
 of `fastcgi_finish_request()`. This needs testing on a range of platforms,
 to help determine if it's safe to use in other contexts also.

 Props vnsavage, johnbillion, jnylen0.
 See #18738, #41358
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/41358#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list