[wp-trac] [WordPress Trac] #20316: Garbage collect transients

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 28 22:04:35 UTC 2012


#20316: Garbage collect transients
--------------------------+-------------------------
 Reporter:  nacin         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  3.4
Component:  Database      |    Version:
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+-------------------------
 Per an IRC discussion and long-considered changes:

  * In wp_scheduled_delete(), look for expired transients and purge them.

  * On DB upgrade, purge all transients, regardless of expiration. (This
 should probably happen on auto-update as well, but let's let that part
 slide for now, as DB upgrade will run on all major releases these days.)

 We should only do this if ! $_wp_using_ext_object_cache.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20316>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list