Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kad: Strategy for removing old MemoryStore records #81

Open
Tracked by #140
lexnv opened this issue Apr 19, 2024 · 1 comment
Open
Tracked by #140

kad: Strategy for removing old MemoryStore records #81

lexnv opened this issue Apr 19, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@lexnv
Copy link
Collaborator

lexnv commented Apr 19, 2024

When the memory store is full and a new record is added, remove expired records.

Extracted from: #78 (comment)

@dmitry-markin
Copy link
Collaborator

+1 for keeping the records sorted and not traversing all the store.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants