From 3c353afe4dffa3da9c96ef25b02f0004676afe5f Mon Sep 17 00:00:00 2001 From: vnugent Date: Sat, 14 Oct 2023 15:50:46 -0400 Subject: experimential expansion and performance changes --- lib/VNLib.Plugins.Extensions.VNCache/src/MemoryCacheConfig.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/VNLib.Plugins.Extensions.VNCache/src/MemoryCacheConfig.cs') diff --git a/lib/VNLib.Plugins.Extensions.VNCache/src/MemoryCacheConfig.cs b/lib/VNLib.Plugins.Extensions.VNCache/src/MemoryCacheConfig.cs index f34ae91..57c2793 100644 --- a/lib/VNLib.Plugins.Extensions.VNCache/src/MemoryCacheConfig.cs +++ b/lib/VNLib.Plugins.Extensions.VNCache/src/MemoryCacheConfig.cs @@ -81,6 +81,12 @@ namespace VNLib.Plugins.Extensions.VNCache set => RefreshInterval = TimeSpan.FromSeconds(value); } + /// + /// Zeros all cache entry memory allocations before they are used + /// + [JsonPropertyName("zero_all")] + public bool ZeroAllAllocations { get; set; } + /// public void Validate() { -- cgit