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

WordPress Trac noreply at wordpress.org
Thu Sep 26 09:19:04 UTC 2013


#20316: Garbage collect transients
----------------------------+------------------
 Reporter:  nacin           |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.7
Component:  Database        |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |
----------------------------+------------------

Comment (by mark8barnes):

 I missed IRC, but I think this is the wrong decision. I agree we should
 not risk breaking sites by deleting unexpired transients, but I cannot see
 any reason (in the chat or on this ticket) as to why this can only be done
 on a db upgrade, rather than as a (weekly?) scheduled cron.

 If a plugin author sets an expiry date on a transient, he should not have
 to do garbage collection himself, nor wait three months or more for a
 database upgrade.

 Deleting expired transients through a cron job will not break sites (and
 the more often it's done, the less likely it is to fail through a
 timeout).

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


More information about the wp-trac mailing list