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

If you cache a result value that's a false boolean value, the cache will always miss #38

Open
kgreen24 opened this issue May 12, 2023 · 0 comments
Assignees
Labels

Comments

@kgreen24
Copy link

I created a cached method using the decorator and backed by NodeFsStorage. If the method returns a boolean that you want to cache, and the boolean value is false, the cache will always get hit. I'd expect it to respect the ttl.

@havsar havsar added the bug label May 17, 2023
@havsar havsar self-assigned this May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants