aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2024-12-17 16:30:06 -0600
committerJP Dillingham <jp@dillingham.me>2024-12-17 16:30:06 -0600
commit57704f7a402bd779c74b42b460c6bb0d206cbe0c (patch)
tree5de10a59601042e0c9bd9e4a168e2e26a9165342
parent2151eb9fd7d4e7d842761bedf7769fa8db2b2888 (diff)
downloadslskd-57704f7a402bd779c74b42b460c6bb0d206cbe0c.tar.gz
docs
-rw-r--r--docs/config.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/config.md b/docs/config.md
index 9d17974f..e83fc1a9 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -895,17 +895,20 @@ filters:
By default, most things created by the application are retained indefinitely; they have to be removed manually by the user. Users can optionally configure certain things to be removed or deleted automatically after a period of time.
+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.
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.
Application logs are removed after 180 days by default, but this can be configured as well.
-All retention periods are specified in minutes.
+All retention periods are specified in minutes, with the exception of `logs`, which is in days.
#### **YAML**
```yaml
retention:
+ search: 1440 # 1 day
transfers:
upload:
succeeded: 1440 # 1 day