Refactored cache ttl handling

This commit is contained in:
2026-09-04 05:53:36 +02:00
parent 9728459223
commit 8ea014e4fb
6 changed files with 23 additions and 11 deletions
@@ -0,0 +1,9 @@
namespace PostFundManagement.Application.Abstractions;
public abstract class ServiceCacheBase
{
protected readonly DistributedCacheEntryOptions cacheOptions = new()
{
AbsoluteExpirationRelativeToNow = TimeSpan.FromMinutes(2)
};
}