diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Common/Configuration/YamlConfigurationSource.cs | 2 | ||||
| -rw-r--r-- | src/slskd/Options.cs | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/slskd/Common/Configuration/YamlConfigurationSource.cs b/src/slskd/Common/Configuration/YamlConfigurationSource.cs index 191e49ab..7f2c548d 100644 --- a/src/slskd/Common/Configuration/YamlConfigurationSource.cs +++ b/src/slskd/Common/Configuration/YamlConfigurationSource.cs @@ -111,7 +111,7 @@ namespace slskd.Configuration { // clear the data collection before we populate // not doing this will cause array and dictionary keys - // to get "stuck" + // to get "stuck" when the config is reloaded Data.Clear(); using var reader = new StreamReader(stream); diff --git a/src/slskd/Options.cs b/src/slskd/Options.cs index 0d7fb4fe..bffc1be9 100644 --- a/src/slskd/Options.cs +++ b/src/slskd/Options.cs @@ -435,7 +435,6 @@ namespace slskd public string Strategy { get; init; } = "roundrobin"; [Argument(default, "queue-slots")] - [RequiresRestart] [Range(1, int.MaxValue)] public int Slots { get; init; } = 10; @@ -448,7 +447,6 @@ namespace slskd [Enum(typeof(QueueStrategy))] public string Strategy { get; init; } = "roundrobin"; - [RequiresRestart] [Range(1, int.MaxValue)] public int Slots { get; init; } = 10; |
