We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f92a6e8 commit a0579e1Copy full SHA for a0579e1
src/Microsoft.Extensions.Caching.ServiceStackRedis/ServiceStackRedisCache.cs
@@ -144,7 +144,7 @@ private int GetExpireInSeconds(DistributedCacheEntryOptions options)
144
{
145
return (int)options.SlidingExpiration.Value.TotalSeconds;
146
}
147
- else if (options.AbsoluteExpiration.HasValue)
+ else if (options.AbsoluteExpirationRelativeToNow.HasValue)
148
149
return (int)options.AbsoluteExpirationRelativeToNow.Value.TotalSeconds;
150
0 commit comments