-
-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Description
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?
Metadata
Metadata
Assignees
Labels
No labels