aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Core/Options.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs
index 080f1b0d..eb852015 100644
--- a/src/slskd/Core/Options.cs
+++ b/src/slskd/Core/Options.cs
@@ -1091,11 +1091,13 @@ namespace slskd
/// <summary>
/// Gets the time to retain completed files, in minutes.
/// </summary>
+ [Range(30, maximum: int.MaxValue)]
public int? Complete { get; init; } = null;
/// <summary>
/// Gets the time to retain incomplete files, in minutes.
/// </summary>
+ [Range(30, maximum: int.MaxValue)]
public int? Incomplete { get; init; } = null;
}