aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Transfers
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-02-19 13:07:24 -0600
committerJP Dillingham <jpdillingham@gmail.com>2022-02-19 13:07:24 -0600
commit854f3155f1d77907e77573ecfa7e836b0ae202ae (patch)
tree58974076844f0e182472ec26649467fbb44fcfd9 /src/slskd/Transfers
parentbc204e74f45e345abf1dd5f5d187900660f5684d (diff)
downloadslskd-854f3155f1d77907e77573ecfa7e836b0ae202ae.tar.gz
fix spelling
Diffstat (limited to 'src/slskd/Transfers')
-rw-r--r--src/slskd/Transfers/Uploads/UploadGovernor.cs2
-rw-r--r--src/slskd/Transfers/Uploads/UploadQueue.cs8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/slskd/Transfers/Uploads/UploadGovernor.cs b/src/slskd/Transfers/Uploads/UploadGovernor.cs
index 9221d686..a806815f 100644
--- a/src/slskd/Transfers/Uploads/UploadGovernor.cs
+++ b/src/slskd/Transfers/Uploads/UploadGovernor.cs
@@ -150,7 +150,7 @@ namespace slskd.Transfers
// also, so transfers in progress will briefly exceed the intended speeds.
var tokenBuckets = new Dictionary<string, ITokenBucket>()
{
- { Application.PriviledgedGroup, CreateBucket(options.Global.Upload.SpeedLimit) },
+ { Application.PrivilegedGroup, CreateBucket(options.Global.Upload.SpeedLimit) },
{ Application.DefaultGroup, CreateBucket(options.Groups.Default.Upload.SpeedLimit) },
{ Application.LeecherGroup, CreateBucket(options.Groups.Leechers.Upload.SpeedLimit) },
};
diff --git a/src/slskd/Transfers/Uploads/UploadQueue.cs b/src/slskd/Transfers/Uploads/UploadQueue.cs
index 44aa8af4..e5b8c5f5 100644
--- a/src/slskd/Transfers/Uploads/UploadQueue.cs
+++ b/src/slskd/Transfers/Uploads/UploadQueue.cs
@@ -296,15 +296,15 @@ namespace slskd.Transfers
{
// the priority group is hard-coded with priority 0, slot count equivalent to the overall max,
// and a FIFO strategy. all other groups have a minimum priority of 1 (enforced by options validation)
- // to ensure that priviledged users always take priority, regardless of user configuration.
- // the strategy is fixed to FIFO because that gives priviledged users the closest experience
+ // to ensure that privileged users always take priority, regardless of user configuration.
+ // the strategy is fixed to FIFO because that gives privileged users the closest experience
// to the official client, as well as the appearance of fairness once the first upload begins.
new Group()
{
- Name = Application.PriviledgedGroup,
+ Name = Application.PrivilegedGroup,
Priority = 0,
Slots = MaxSlots,
- UsedSlots = GetExistingUsedSlotsOrDefault(Application.PriviledgedGroup),
+ UsedSlots = GetExistingUsedSlotsOrDefault(Application.PrivilegedGroup),
Strategy = QueueStrategy.FirstInFirstOut,
},
new Group()