[wp-trac] [WordPress Trac] #49693: Drop duplicate recurring cron events

WordPress Trac noreply at wordpress.org
Sun Mar 29 22:21:34 UTC 2020


#49693: Drop duplicate recurring cron events
----------------------------------------------------+---------------------
 Reporter:  aidvu                                   |       Owner:  (none)
     Type:  enhancement                             |      Status:  new
 Priority:  normal                                  |   Milestone:  5.5
Component:  Cron API                                |     Version:  trunk
 Severity:  normal                                  |  Resolution:
 Keywords:  has-patch has-unit-tests needs-testing  |     Focuses:
----------------------------------------------------+---------------------

Comment (by azaozz):

 > To protect against blowing up the table for single events, WP prevents
 identical events being scheduled within ten minutes of each other. I'm
 happy enough with doing something like that but the maths would be a bit
 messy.

 Right, as WP has throttling down for single events was thinking it needs
 something similar for multi-events.

 Do you think it may be possible to base it on number of scheduled events?
 Like, perhaps look at how many are scheduled for the next 12 or 24 hours,
 etc.

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


More information about the wp-trac mailing list