pequenas otimizações
All checks were successful
API and ETL Build / build_etl (push) Successful in 4s
API and ETL Build / build_api (push) Successful in 15s

This commit is contained in:
2025-06-18 20:01:52 -03:00
parent f5dda37285
commit 0d30afd700
2 changed files with 16 additions and 16 deletions

View File

@@ -10,7 +10,7 @@ namespace OpenCand.Repository
protected readonly IMemoryCache? _cache;
// Default cache settings
protected static readonly TimeSpan DefaultCacheExpiration = TimeSpan.FromDays(7);
protected static readonly TimeSpan DefaultCacheExpiration = TimeSpan.MaxValue;
protected static readonly CacheItemPriority DefaultCachePriority = CacheItemPriority.Normal;
public BaseRepository(IConfiguration configuration, IMemoryCache? cache = null)