From 24dc05d101691e7c3216eca767d329af795c0036 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 30 Jan 2022 11:09:13 -0600 Subject: temporarily remove leecher built in group --- config/slskd.example.yml | 5 ----- src/slskd/Options.cs | 8 +------- 2 files changed, 1 insertion(+), 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 @@ -469,12 +469,6 @@ namespace slskd [Validate] public BuiltInGroupOptions Default { get; init; } = new BuiltInGroupOptions(); - /// - /// Gets options for the leecher user group. - /// - [Validate] - public BuiltInGroupOptions Leechers { get; init; } = new BuiltInGroupOptions() { Upload = new GroupUploadOptions() { Priority = 99, Slots = 1 } }; - /// /// Built in user group options. /// @@ -519,7 +513,7 @@ namespace slskd /// Gets the queue strategy for the group. /// [Enum(typeof(QueueStrategy))] - public string Strategy { get; init; } = slskd.QueueStrategy.RoundRobin.ToString().ToLowerInvariant(); + public string Strategy { get; init; } = QueueStrategy.RoundRobin.ToString().ToLowerInvariant(); /// /// Gets the limit for the total number of upload slots for the group. -- cgit v1.2.3