We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Most of the times the cache fails to expire in my code. Maybe you have an idea what I'm doing wrong. Any help would be greatly appreciated.
Here is the code directly using FluentCache: https://github.com/matishadow/GimmeDatAPI/blob/develop/GimmeDatAPI.Web/Controllers/ZascianekDataController.cs
And here is the GetZascianekExpireAfter method which result is passed to ExpireAfter. It aims to get TimeSpan which is remaining to 7 PM (19:00) https://github.com/matishadow/GimmeDatAPI/blob/develop/GimmeDatAPI.Cache/CacheInvalidation.cs
The text was updated successfully, but these errors were encountered:
Based on a quick look at your code it does seem like it should be working the way you intend.
What about writing a test case demonstrating the issue, without all the rest of the app code? It seems like a good test case would:
A test case like the above demonstrating the issue would go a long way to figuring out what's not working properly.
Sorry, something went wrong.
No branches or pull requests
Most of the times the cache fails to expire in my code.
Maybe you have an idea what I'm doing wrong. Any help would be greatly appreciated.
Here is the code directly using FluentCache:
https://github.com/matishadow/GimmeDatAPI/blob/develop/GimmeDatAPI.Web/Controllers/ZascianekDataController.cs
And here is the GetZascianekExpireAfter method which result is passed to ExpireAfter. It aims to get TimeSpan which is remaining to 7 PM (19:00)
https://github.com/matishadow/GimmeDatAPI/blob/develop/GimmeDatAPI.Cache/CacheInvalidation.cs
The text was updated successfully, but these errors were encountered: