From 5966f7fe0245110591cbf5634efcb301712763a8 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 16 Sep 2023 22:56:48 -0500 Subject: specify retention in hours --- src/slskd/Core/Options.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') 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 { /// - /// Gets the time to retain successful transfers, in minutes. + /// Gets the time to retain successful transfers, in hours. /// - [Range(60, maximum: int.MaxValue)] + [Range(1, maximum: int.MaxValue)] public int Succeeded { get; init; } = int.MaxValue; /// - /// Gets the time to retain errored transfers, in minutes. + /// Gets the time to retain errored transfers, in hours. /// - [Range(60, maximum: int.MaxValue)] + [Range(1, maximum: int.MaxValue)] public int Errored { get; init; } = int.MaxValue; /// - /// Gets the time to retain cancelled transfers, in minutes. + /// Gets the time to retain cancelled transfers, in hours. /// - [Range(60, maximum: int.MaxValue)] + [Range(1, maximum: int.MaxValue)] public int Cancelled { get; init; } = int.MaxValue; } } -- cgit v1.2.3