Skip to content

Ensure expired items are removed from the cache#20

Open
jwoertink wants to merge 1 commit intomainfrom
issues/19
Open

Ensure expired items are removed from the cache#20
jwoertink wants to merge 1 commit intomainfrom
issues/19

Conversation

@jwoertink
Copy link
Member

Fixes #19 (partially)

This is a tricky one because if an item expires, and you never read that item again, the expired item will just sit there. We would need to implement some sort of global sweeper that goes through and cleans up old expired items... But I have no clue where that would live. Sounds like a cron job, but I don't think this shard should handle cron. Maybe we can just create a simple worker file, and it would be up to you to decide when that gets ran?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Potential memory leak in memory store

1 participant