aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2023-09-16 22:56:48 -0500
committerJP Dillingham <jp@dillingham.me>2023-09-16 22:56:48 -0500
commit5966f7fe0245110591cbf5634efcb301712763a8 (patch)
tree842f09db6b670751f5ab6a248c850f60368a00ba /src
parentcf5a29422198e4defc3820edf8b160f9bcd00857 (diff)
downloadslskd-5966f7fe0245110591cbf5634efcb301712763a8.tar.gz
specify retention in hours
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Core/Options.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs
index b2c85146..7e21865f 100644
--- a/src/slskd/Core/Options.cs
+++ b/src/slskd/Core/Options.cs
@@ -1077,21 +1077,21 @@ namespace slskd
public class TransferRetentionOptions
{
/// <summary>
- /// Gets the time to retain successful transfers, in minutes.
+ /// Gets the time to retain successful transfers, in hours.
/// </summary>
- [Range(60, maximum: int.MaxValue)]
+ [Range(1, maximum: int.MaxValue)]
public int Succeeded { get; init; } = int.MaxValue;
/// <summary>
- /// Gets the time to retain errored transfers, in minutes.
+ /// Gets the time to retain errored transfers, in hours.
/// </summary>
- [Range(60, maximum: int.MaxValue)]
+ [Range(1, maximum: int.MaxValue)]
public int Errored { get; init; } = int.MaxValue;
/// <summary>
- /// Gets the time to retain cancelled transfers, in minutes.
+ /// Gets the time to retain cancelled transfers, in hours.
/// </summary>
- [Range(60, maximum: int.MaxValue)]
+ [Range(1, maximum: int.MaxValue)]
public int Cancelled { get; init; } = int.MaxValue;
}
}