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

WordPress Trac noreply at wordpress.org
Tue Apr 7 04:52:42 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:  5.4
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:
  testing needs-refresh                          |
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):

 * keywords:  has-patch has-unit-tests needs-testing => has-patch has-unit-
     tests needs-testing needs-refresh


Comment:

 Replying to [comment:10 aidvu]:
 > @azaozz / @peterwilsoncc any additional info on how you want to proceed
 with this?

 Sorry for the delay.

 Let's go with @azaozz suggestion of n max per day.

 An event is considered identical if it has the same interval, schedule
 name, hook and arguments.

 My inclination is to be generous with the maximum allowed within the day
 as the goal is to avoid explosions without hindering the user/developer.
 **Proposal: 24**

 In terms of patch, the timestamp allowance will be similar to the ten
 minute calculation for single events: ie, min and max time stamp may be
 greater than 24 hours apart depending on when the event is being
 scheduled.

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


More information about the wp-trac mailing list