-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
Get Expiration. #120
Comments
Which version number are you using and which of the libraries are you using? |
I'm using MonkeyCache.Filestore 1.6.3 with .net7. I'll try to update it on 2.0.1 and see if it is fixed on that version. |
Meh, eventually It is not good time to update cause i see methods have changed an I have to publish the project. |
I also use Newtonsoft.Json 13.02 In case it could be a conflict or i don't know 😅. |
Hey Guys.
I'm using Barrel.Current.Add(key, data, 2hours);
But when im using Barrel.Current.GetExpiration(key); It returns back that cache has been expired just now.
So it will return me utc 0 time zone for expiration but for add will register with server timezone.
Because when I want to use the data that is supposed to be expired based on GetExpiration, it's still there.
So the workaround for me it's Adding 2hours on get expiration to check for expired cached data.
Is it me that I'm doing something wrong?
The text was updated successfully, but these errors were encountered: