aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-01-30 21:08:24 -0600
committerJP Dillingham <jpdillingham@gmail.com>2022-01-30 21:08:24 -0600
commitee21f4514305fb1ff213aae016817b7ff25d628d (patch)
treeb83e7391c71bc74fc3f9dcca5ca42258985c6a58
parent6e84e1f8686cf1a4299cb039a2fa1ec90d5674b8 (diff)
downloadslskd-ee21f4514305fb1ff213aae016817b7ff25d628d.tar.gz
add SpeedLimit to UploadOptions
-rw-r--r--src/slskd/Options.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/slskd/Options.cs b/src/slskd/Options.cs
index 8acd5a11..302b01d0 100644
--- a/src/slskd/Options.cs
+++ b/src/slskd/Options.cs
@@ -526,6 +526,12 @@ namespace slskd
/// </summary>
[Range(1, int.MaxValue)]
public int Slots { get; init; } = 10;
+
+ /// <summary>
+ /// Gets the total upload speed limit for the group.
+ /// </summary>
+ [Range(1, int.MaxValue)]
+ public int SpeedLimit { get; init; } = int.MaxValue;
}
}