Describe the bug
DefaultCacheDurationSeconds is not being honored.
To Reproduce
public static readonly IAppCache CachingService = new CachingService { DefaultCachePolicy = new CacheDefaults { DefaultCacheDurationSeconds = 1 } };
Even though duration is set to 1 second (this time frame is for testing purpose), no cache entry is being evicted.
Expected behavior
Evict all cache entries after 1 second.
** Framework and Platform
- OS: Windows 10
- Framework: netcoreapp3.1
- LazyCache Version: 2.0.4