michaelnisi / feedkit

Searchable caching feed client
MIT License
3 stars 1 forks source link

Limit historic data 📈 #24

Closed michaelnisi closed 6 years ago

michaelnisi commented 6 years ago

Currently, we are storing the entire history of a user’s queue. How can we limit historic data? 📈

michaelnisi commented 6 years ago

Waiting until it’s slowing us down will only go so far…

michaelnisi commented 6 years ago

There’s already, the unused, QueueCaching.removeStalePrevious().

michaelnisi commented 6 years ago

Yep, that’s it, we are removing stale previous, leaving us with one item per feed in the logs.