From 957c881b7b1adc6f5b956281ff26101e77aacf5e Mon Sep 17 00:00:00 2001 From: Yethe Samartaka <55753928+YetheSamartaka@users.noreply.github.com> Date: Sat, 11 Oct 2025 17:13:26 +0200 Subject: [PATCH] Fix for Performance preset for server profiles not copied over --- FASTER Maintenance/Models/BasicCfg.cs | 2 ++ FASTER/Models/BasicCfg.cs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/FASTER Maintenance/Models/BasicCfg.cs b/FASTER Maintenance/Models/BasicCfg.cs index 87e6c5f3..eeec89e4 100644 --- a/FASTER Maintenance/Models/BasicCfg.cs +++ b/FASTER Maintenance/Models/BasicCfg.cs @@ -1,6 +1,7 @@ using System; using System.ComponentModel; using System.Globalization; +using Newtonsoft.Json; // ReSharper disable once CheckNamespace namespace FASTER.Models @@ -125,6 +126,7 @@ public ushort MaxCustomFileSize } } + [JsonIgnore] public string PerfPreset { get => "Custom"; diff --git a/FASTER/Models/BasicCfg.cs b/FASTER/Models/BasicCfg.cs index fa3cf7f2..ac96a292 100644 --- a/FASTER/Models/BasicCfg.cs +++ b/FASTER/Models/BasicCfg.cs @@ -2,6 +2,7 @@ using System.ComponentModel; using System.Globalization; using System.Xml.Serialization; +using Newtonsoft.Json; namespace FASTER.Models { @@ -150,6 +151,7 @@ public ushort MaxCustomFileSize } [XmlIgnore] + [JsonIgnore] public string PerfPreset { get => "Custom";