Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
arealmaas committed Apr 3, 2024
1 parent 726b952 commit fa610d5
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,15 +200,13 @@ private static void ConfigureFusionCache(IServiceCollection services, string cac
{
settings ??= new FusionCacheSettings();

// todo: consider open telemetry?
var fusionCacheConfig = services.AddFusionCache(cacheName)
.WithOptions(options =>
{
options.DistributedCacheCircuitBreakerDuration = TimeSpan.FromSeconds(2);
})
.WithDefaultEntryOptions(new FusionCacheEntryOptions
{
// todo: Let's discuss these settings..
Duration = settings.Duration,

IsFailSafeEnabled = settings.IsFailSafeEnabled,
Expand Down

0 comments on commit fa610d5

Please sign in to comment.