diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-01-09 08:50:57 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-09 08:50:57 -0600 |
| commit | b8d0dab8a70c38b981fa6a299acd76140a59400a (patch) | |
| tree | e6361c5488bba79ac6edb72aae9b929c129aaafa /src/slskd/Core/Options.cs | |
| parent | 02df53f215a57c58d78df20a03497f03cce12185 (diff) | |
| parent | cb31a68a6e7f6d195281a7a480af539ddd945688 (diff) | |
| download | slskd-b8d0dab8a70c38b981fa6a299acd76140a59400a.tar.gz | |
Merge pull request #1594 from slskd/prune
Add Failed retention setting, add more states to errored cleanup
Diffstat (limited to 'src/slskd/Core/Options.cs')
| -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 20b53f6c..a1d9953c 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -1423,6 +1423,12 @@ namespace slskd /// </summary> [Range(5, maximum: int.MaxValue)] public int? Cancelled { get; init; } = null; + + /// <summary> + /// Gets the time to retain unsuccessful (including errored and cancelled) transfers, in minutes. + /// </summary> + [Range(5, maximum: int.MaxValue)] + public int? Failed { get; init; } = null; } } |
