aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2024-01-15 18:45:22 -0600
committerJP Dillingham <jp@dillingham.me>2024-01-15 18:45:22 -0600
commitb427be45760c693bb7e0b39237e78183968f8eac (patch)
treecb7847a40c2c7e0b0f23f15c7a143f4e71ff55a1
parent263d5d9164bc75fa41def38b2fc0be0c91da5658 (diff)
downloadslskd-b427be45760c693bb7e0b39237e78183968f8eac.tar.gz
remove directory limit
-rw-r--r--config/slskd.example.yml5
-rw-r--r--src/slskd/Core/Options.cs6
2 files changed, 0 insertions, 11 deletions
diff --git a/config/slskd.example.yml b/config/slskd.example.yml
index 66a6f0ff..b1f4ce08 100644
--- a/config/slskd.example.yml
+++ b/config/slskd.example.yml
@@ -62,12 +62,10 @@
# limits:
# queued:
# files: 150
-# directories: 10
# megabytes: 1500
# daily: ~ # no daily limits (weekly still apply)
# weekly:
# files: 1500
-# directories: 100
# megabytes: 15000
# leechers:
# thresholds:
@@ -81,15 +79,12 @@
# limits:
# queued:
# files: 15
-# directories: 1
# megabytes: 150
# daily:
# files: 30
-# directories: 2
# megabytes: 300
# weekly:
# files: 150
-# directories: 10
# megabytes: 1500
# blacklisted:
# members:
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs
index e34a86b0..c1f4d558 100644
--- a/src/slskd/Core/Options.cs
+++ b/src/slskd/Core/Options.cs
@@ -1055,12 +1055,6 @@ namespace slskd
public int? Files { get; init; } = null;
/// <summary>
- /// Gets the limit for number of directories.
- /// </summary>
- [Range(1, int.MaxValue)]
- public int? Directories { get; init; } = null;
-
- /// <summary>
/// Gets the limit for number of megabytes.
/// </summary>
[Range(1, int.MaxValue)]