aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-01-30 11:09:13 -0600
committerJP Dillingham <jpdillingham@gmail.com>2022-01-30 11:09:13 -0600
commit24dc05d101691e7c3216eca767d329af795c0036 (patch)
tree020c1ba12a6f1fa8b7c0fff1a5b97c6661c67513
parentf29170569b8b563f75574f181af7b1f07f1c5e69 (diff)
downloadslskd-24dc05d101691e7c3216eca767d329af795c0036.tar.gz
temporarily remove leecher built in group
-rw-r--r--config/slskd.example.yml5
-rw-r--r--src/slskd/Options.cs8
2 files changed, 1 insertions, 12 deletions
diff --git a/config/slskd.example.yml b/config/slskd.example.yml
index eeb9b677..bff2df5b 100644
--- a/config/slskd.example.yml
+++ b/config/slskd.example.yml
@@ -24,11 +24,6 @@
# priority: 500
# strategy: roundrobin
# slots: 10
-# leechers:
-# upload:
-# priority: 1000
-# queue_strategy: roundrobin
-# slots: 1
# user_defined:
# my_buddies:
# upload:
diff --git a/src/slskd/Options.cs b/src/slskd/Options.cs
index 5f674eaf..6b3bafa2 100644
--- a/src/slskd/Options.cs
+++ b/src/slskd/Options.cs
@@ -470,12 +470,6 @@ namespace slskd
public BuiltInGroupOptions Default { get; init; } = new BuiltInGroupOptions();
/// <summary>
- /// Gets options for the leecher user group.
- /// </summary>
- [Validate]
- public BuiltInGroupOptions Leechers { get; init; } = new BuiltInGroupOptions() { Upload = new GroupUploadOptions() { Priority = 99, Slots = 1 } };
-
- /// <summary>
/// Built in user group options.
/// </summary>
public class BuiltInGroupOptions
@@ -519,7 +513,7 @@ namespace slskd
/// Gets the queue strategy for the group.
/// </summary>
[Enum(typeof(QueueStrategy))]
- public string Strategy { get; init; } = slskd.QueueStrategy.RoundRobin.ToString().ToLowerInvariant();
+ public string Strategy { get; init; } = QueueStrategy.RoundRobin.ToString().ToLowerInvariant();
/// <summary>
/// Gets the limit for the total number of upload slots for the group.