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

WordPress Trac noreply at wordpress.org
Fri Sep 13 01:31:49 UTC 2013


#20316: Garbage collect transients
----------------------------------------------+------------------
 Reporter:  nacin                             |       Owner:
     Type:  enhancement                       |      Status:  new
 Priority:  normal                            |   Milestone:  3.7
Component:  Database                          |     Version:
 Severity:  normal                            |  Resolution:
 Keywords:  dev-feedback has-patch 3.7-early  |
----------------------------------------------+------------------

Comment (by rmccue):

 Everyone seems to misunderstand how transient expiration works, so the
 long and short of it is: transient expiration times are a '''maximum'''
 time. There is no minimum age. Transients might disappear one second after
 you set them, or 24 hours, but they will never be around after the
 expiration time.

 I'd suggest that we need to spread the word about this, as I've seen a lot
 of people think that expiration is used for both a minimum and maximum,
 then find out their plugins are breaking with object caches. (And I've
 spoken to experienced developers that believe this too.)

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


More information about the wp-trac mailing list