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

GetAsync with DataRetriever doesn't allow to set TimeSpan.Zero to expiration #479

Open
jkatsiotis opened this issue Jun 29, 2023 · 1 comment

Comments

@jkatsiotis
Copy link
Contributor

I believe expiration parameter should be a nullable TimeSpan.

How does that sound?

@catcherwong
Copy link
Member

@jkatsiotis Thanks for your interest in this project.

In v1.x, the expiration was designed a not nullable parameter, all cached values should be hot cache, not cold cache.

And this feature will in v2.x. (#470)

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

No branches or pull requests

2 participants