Refactored cache ttl handling
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
namespace PostFundManagement.Application.Abstractions;
|
||||
|
||||
public abstract class ServiceCacheBase
|
||||
{
|
||||
protected readonly DistributedCacheEntryOptions cacheOptions = new()
|
||||
{
|
||||
AbsoluteExpirationRelativeToNow = TimeSpan.FromMinutes(2)
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user