go-graphite / carbonmem

in-memory carbon-like store
BSD 2-Clause "Simplified" License
28 stars 3 forks source link

expire old lookup entries #4

Closed dgryski closed 9 years ago

dgryski commented 9 years ago

when a metric is no longer active, we should prune it from the lookups to save some memory. Removal from the trigram index is the only tricky one.

dgryski commented 9 years ago

Fixed by https://github.com/dgryski/carbonmem/commit/46c427b97f49e5a12995a222f7cf58cde008e9fe