aboutsummaryrefslogtreecommitdiffstats
path: root/docs/config.md
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-01-09 08:50:57 -0600
committerGitHub <noreply@github.com>2026-01-09 08:50:57 -0600
commitb8d0dab8a70c38b981fa6a299acd76140a59400a (patch)
treee6361c5488bba79ac6edb72aae9b929c129aaafa /docs/config.md
parent02df53f215a57c58d78df20a03497f03cce12185 (diff)
parentcb31a68a6e7f6d195281a7a480af539ddd945688 (diff)
downloadslskd-b8d0dab8a70c38b981fa6a299acd76140a59400a.tar.gz
Merge pull request #1594 from slskd/prune
Add Failed retention setting, add more states to errored cleanup
Diffstat (limited to 'docs/config.md')
-rw-r--r--docs/config.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/config.md b/docs/config.md
index 3efe2e8a..c47235af 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -950,7 +950,7 @@ By default, most things created by the application are retained indefinitely; th
Completed searches can be configured to be removed from the UI and 'hard' deleted from the database. It's a good idea to set this to something relatively short, as old searches have diminishing value as they age and the records contain a lot of data.
-Transfers can be configured to be removed from the UI after they are complete by specifying retention periods for uploads and downloads separately, and by transfer state; succeeded, errored, and cancelled.
+Transfers can be configured to be removed from the UI after they are complete by specifying retention periods for uploads and downloads separately, and by transfer state; succeeded, errored, and cancelled. The 'failed' setting can be used instead of 'errored' and 'cancelled' to clean up all transfers that were not successful, regardless of reason.
Files (on disk) can be configured to be deleted after the age of their last access time exceeds the configured time. Completed and incomplete files can be configured separately.
@@ -967,10 +967,12 @@ retention:
succeeded: 1440 # 1 day
errored: 30
cancelled: 5
+ failed: 180
download:
succeeded: 1440 # 1 day
errored: 20160 # 2 weeks
cancelled: 5
+ failed: 180
files:
complete: 20160 # 2 weeks
incomplete: 43200 # 30 days