From a5fea26269ddbc451f3258294930a41a34e9384c Mon Sep 17 00:00:00 2001 From: Lilith River Date: Tue, 28 Nov 2023 13:54:40 -0700 Subject: [PATCH] HybridCacheService now sets WriteSynchronouslyWhenQueueFull = false This better tolerates multi-instance situations where writes can't happen without outright failing requests. --- src/Imageflow.Server.HybridCache/HybridCacheService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Imageflow.Server.HybridCache/HybridCacheService.cs b/src/Imageflow.Server.HybridCache/HybridCacheService.cs index 3b923100..0a39e85f 100644 --- a/src/Imageflow.Server.HybridCache/HybridCacheService.cs +++ b/src/Imageflow.Server.HybridCache/HybridCacheService.cs @@ -22,7 +22,7 @@ public HybridCacheService(HybridCacheOptions options, ILogger File.Move(from, to, true) }, CleanupManagerOptions = new CleanupManagerOptions() @@ -61,4 +61,4 @@ public Task GetOrCreateBytes(byte[] key, AsyncBytesResult da return cache.GetOrCreateBytes(key, dataProviderCallback, cancellationToken, retrieveContentType); } } -} \ No newline at end of file +}