[wp-trac] [WordPress Trac] #51716: WP Cron - looses entries
WordPress Trac
noreply at wordpress.org
Tue Nov 24 11:47:00 UTC 2020
#51716: WP Cron - looses entries
--------------------------+------------------------------
Reporter: Nate1 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Cron API | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: performance
--------------------------+------------------------------
Changes (by Takahashi_Fumiki):
* keywords: => has-patch
Comment:
I've uploaded a new ticket the changes are along with #51747
1. Separate scheduling and execution
2. Add hooks for before/after execution
3. Add hook for cron-processor(default is `do_action_ref_afrray`)
With this patch, the race condition score improved but the fundamental
problem(race condition) still remains. Below is the stats for 30min
execution.
||=Patch =||= All Scheduled =||= Missed Schedule =||
|| NO || 173 || 54
||
|| YES || 133 || 4
||
To reproduce, see https://github.com/kuno1/nabeatsu-of-the-world
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51716#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list