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

Delete expired keys on the "Get" request. #1000

Open
sitaram-kalluri opened this issue Apr 20, 2023 · 0 comments
Open

Delete expired keys on the "Get" request. #1000

sitaram-kalluri opened this issue Apr 20, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@sitaram-kalluri
Copy link
Member

sitaram-kalluri commented Apr 20, 2023

Is your feature request related to a problem? Please describe.

Currently, on a "get" request to a key, if the key is expired, "data: null" is returned, but the key remains in the Key-Store until a batch process (that removes expired keys) runs.

Describe the solution you'd like

Additional to the above behaviour, On Get request, if a key is found to be expired, delete the key and then return "data: null"

@sitaram-kalluri sitaram-kalluri added the enhancement New feature or request label Apr 20, 2023
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

1 participant