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

Expiring Data #3

Open
crisward opened this issue Aug 16, 2016 · 1 comment
Open

Expiring Data #3

crisward opened this issue Aug 16, 2016 · 1 comment

Comments

@crisward
Copy link

Not sure if you feel this fits within the scope of this module. But I'd quite like to wrap my database queries in a cache to prevent hitting the db too often. What would be really cool is if I could use this library but set expiry times on data ie

store.set("key", "value",1000) # 1000ms optional, otherwise forever

If this isn't inline with your aims, let me know as I may create a module to wrap yours to add this functionality to those who want it.

Thanks.

@greyblake
Copy link
Member

Hey) Sorry for the delay.
I guess it might be useful. I don't mind such thing, if it can be somehow modular.

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

No branches or pull requests

2 participants