[wp-trac] [WordPress Trac] #18738: Improving cron spawning and other non-blocking HTTP requests

WordPress Trac noreply at wordpress.org
Mon Jan 7 16:55:35 UTC 2019


#18738: Improving cron spawning and other non-blocking HTTP requests
----------------------------------+-----------------------
 Reporter:  johnbillion           |       Owner:  (none)
     Type:  enhancement           |      Status:  reopened
 Priority:  normal                |   Milestone:  5.1
Component:  HTTP API              |     Version:
 Severity:  normal                |  Resolution:
 Keywords:  has-patch wpcom-hack  |     Focuses:
----------------------------------+-----------------------

Comment (by barry):

 This diff looks pretty good.  Thanks!  {{{wp-cron}}} seems to be a good
 place to start and probably has the least chance of breaking stuff.  There
 are some other related tickets though that suggest using it more places:

 https://core.trac.wordpress.org/search?q=fastcgi_finish_request

 Currently there is a [https://wordpress.org/plugins/jetpack/ popular
 plugin] which hooks some
 [https://github.com/Automattic/jetpack/blob/4a8107b7ebd44a38da1e8604e4a0ebe865ea9c7d/sync/class
 .jetpack-sync-actions.php#L82 slow actions on shutdown] and having an easy
 way to do this asynchronously would be nice.

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


More information about the wp-trac mailing list