diff options
| author | JP Dillingham <jp@dillingham.me> | 2024-12-16 18:11:38 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2024-12-16 18:11:38 -0600 |
| commit | 915bcc9544575f60ab918ee7b127ada431d4ffc6 (patch) | |
| tree | 8774b26b576c98e3e567aa5652d565349ba86b81 /src | |
| parent | 9a68c18458314ef2f1ecfe5fa370e8cb5bb9e4fb (diff) | |
| download | slskd-915bcc9544575f60ab918ee7b127ada431d4ffc6.tar.gz | |
add search retention options
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Core/Options.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index e5f16b1e..8c705e85 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -1312,6 +1312,12 @@ namespace slskd public class RetentionOptions { /// <summary> + /// Gets the time to retain searches, in minutes. + /// </summary> + [Range(60, maximum: int.MaxValue)] + public int? Search { get; init; } = null; + + /// <summary> /// Gets transfer retention options. /// </summary> [Validate] |
