HomePhorge

Garbage collect TTL'd cache entries from the general cache

Description

Garbage collect TTL'd cache entries from the general cache

Summary: We currently garbage collect general cache entries after a set period of time (30 days by default), but the recent changes to DarkConsole have left us writing a lot of large, short-TTL data to the cache. In addition to a maximum age, GC cache entires after they TTL out.

Test Plan: Ran GC daemon, saw TTL'd entries get collected. Inserted a TTL'd entry, saw it get collected by GC. Saw non-ttl'd entries not get collected.

Reviewers: chad

Reviewed By: chad

CC: aran

Differential Revision: https://secure.phabricator.com/D4990

Details

Provenance
epriestleyAuthored on Feb 17 2013, 9:13 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPc2642c8a40f8: Remove redundant translations
Branches
Unknown
Tags
Unknown

Event Timeline