From da5e4f0e7b12d1f769b5c8f2a3a6a4a1b573c418 Mon Sep 17 00:00:00 2001 From: ClemensFischer Date: Mon, 24 Feb 2025 00:23:18 +0100 Subject: [PATCH] Update FileDbCache.cs --- Caches/FileDbCache/FileDbCache.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Caches/FileDbCache/FileDbCache.cs b/Caches/FileDbCache/FileDbCache.cs index 344b0bee..931fd211 100644 --- a/Caches/FileDbCache/FileDbCache.cs +++ b/Caches/FileDbCache/FileDbCache.cs @@ -117,7 +117,7 @@ namespace MapControl.Caching var expiration = options.AbsoluteExpiration.HasValue ? options.AbsoluteExpiration.Value.UtcDateTime - : DateTime.UtcNow.Add(options.AbsoluteExpirationRelativeToNow ?? (options.SlidingExpiration ?? TimeSpan.FromDays(1))); + : DateTime.UtcNow.Add(options.AbsoluteExpirationRelativeToNow ?? options.SlidingExpiration ?? TimeSpan.FromDays(1)); var fieldValues = new FieldValues(3) {