[wp-trac] [WordPress Trac] #27772: Add a TTL to Core update checks

WordPress Trac noreply at wordpress.org
Sat Apr 12 03:28:47 UTC 2014

#27772: Add a TTL to Core update checks
 Reporter:  dd32             |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:

Comment (by dd32):

 [attachment:27772.diff] includes some debug to trigger the check every
 90seconds, using a plugin which lets you view cro tasks, reloading that
 page should show the event running and being re-queued.

 The patch also contains a command to re-run Background updates after a
 version check has completed, however, this has a side effect of Background
 Update will now be run a minimum of 4 times daily, 7am/pm + a random hour
 of the day when the core version check is queued.

 This does however also mean that in the event that we utilise the TTL to
 make WordPress re-check more often, we can have as many sites updated as
 fast as possible rather than waiting up to 12hours for all installs to get
 the message.

 This change will not help plugin security updates though, as they will
 still only be checked every 12 hours (Even if the background update
 callback is kicked off more often than that) as wp_update_plugins() has a
 12hour timeout on it. We could reduce that timeout to 1hour for cron tasks
 though perhaps.

Ticket URL: <https://core.trac.wordpress.org/ticket/27772#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list