[wp-trac] [WordPress Trac] #54668: Non blocking wp-cron.php with LSAPI

WordPress Trac noreply at wordpress.org
Mon Dec 20 12:52:24 UTC 2021


#54668: Non blocking wp-cron.php with LSAPI
-------------------------+-----------------------------
 Reporter:  maximej      |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Cron API     |    Version:  trunk
 Severity:  normal       |   Keywords:
  Focuses:  performance  |
-------------------------+-----------------------------
 As a follow-up to that change [44488] (Make wp-cron.php non-blocking where
 possible)

 Currently, it's only done with FastCGI, but it's also possible with
 LiteSpeed LSAPI using `litespeed_finish_request()`.

 `fastcgi_finish_request()` was an alias for a short time in LSAPI but it's
 not anymore, so wp-cron.php is blocking with LSAPI.

 Could we consider implementing it in wp-cron.php?

 Others already done that: https://github.com/symfony/symfony/pull/42332
 and I don't see any issues using it in wp-cron.php.

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


More information about the wp-trac mailing list