fix: Fixes idleCPU override (#2308)
This commit is contained in:
parent
bc6735bd23
commit
89f620218d
2 changed files with 7 additions and 5 deletions
|
|
@ -44,7 +44,7 @@ public static class ServerConfiguration
|
|||
_settings.Settings.TryGetValue(key, out var value) ? new ClientVersion(value) : defaultValue;
|
||||
|
||||
public static string GetSetting(string key, string defaultValue) =>
|
||||
_settings.Settings.TryGetValue(key, out var value) ? value : defaultValue;
|
||||
_settings.Settings.GetValueOrDefault(key, defaultValue);
|
||||
|
||||
public static int GetSetting(string key, int defaultValue)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue