aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Core/Options.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs
index 68f3c3dc..2aadf206 100644
--- a/src/slskd/Core/Options.cs
+++ b/src/slskd/Core/Options.cs
@@ -1060,19 +1060,19 @@ namespace slskd
/// <summary>
/// Gets the limit for number of files.
/// </summary>
- [Range(1, int.MaxValue)]
+ [Range(-1, int.MaxValue)]
public int? Files { get; init; } = null;
/// <summary>
/// Gets the limit for number of megabytes.
/// </summary>
- [Range(1, int.MaxValue)]
+ [Range(-1, int.MaxValue)]
public int? Megabytes { get; init; } = null;
/// <summary>
/// Gets the limit for number of failures.
/// </summary>
- [Range(1, int.MaxValue)]
+ [Range(-1, int.MaxValue)]
public int? Failures { get; init; } = null;
}
}