There was an error while loading. Please reload this page.
1 parent 3acd05a commit 3bab205Copy full SHA for 3bab205
1 file changed
source/Core/CreativeCoders.Core/Caching/Default/CacheEntry.cs
@@ -24,6 +24,9 @@ public bool CheckIsExpired()
24
case CacheExpirationMode.AbsoluteDateTime:
25
return DateTime.UtcNow > ExpirationPolicy.AbsoluteDateTime;
26
case CacheExpirationMode.SlidingTimeSpan:
27
+ Console.WriteLine("DateTime.UtcNow: " + DateTime.UtcNow);
28
+ Console.WriteLine("LastEntryCheck: " + _lastEntryCheck);
29
+
30
var isExpired = DateTime.UtcNow > _lastEntryCheck.Add(ExpirationPolicy.SlidingTimeSpan);
31
if (!isExpired)
32
{
0 commit comments