Garbage collect transients
|Reported by:||nacin||Owned by:|
|Severity:||normal||Keywords:||dev-feedback has-patch 3.7-early|
|Cc:||ocean90, joachim.kudish@…, xoodrew@…, luke.gedeon@…, bananastalktome@…, knut@…, kovshenin, wordpress@…, leho@…, ian.dunn@…, adamsilverstein@…, kenton.jacobsen@…, cyberhobo@…, contact@…|
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.
Change History (30)
comment:12 TobiasBg — 7 weeks ago
- Cc wordpress@… added
- Keywords 3.7-early added; early removed
- Type changed from defect (bug) to enhancement