diff options
| author | JP Dillingham <jp@dillingham.me> | 2023-09-18 08:14:56 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2023-09-18 08:14:56 -0500 |
| commit | b08e241fce9c0ed9e2709cb1e00077aa2dfa2120 (patch) | |
| tree | 14d8986a955d84eb6499f5a6b320dda2cbffff00 | |
| parent | da7f4cef11e415caa8fe4d27c3a33c9ce418ea05 (diff) | |
| download | slskd-b08e241fce9c0ed9e2709cb1e00077aa2dfa2120.tar.gz | |
docs for retention
| -rw-r--r-- | docs/config.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/config.md b/docs/config.md index b6790788..ea780030 100644 --- a/docs/config.md +++ b/docs/config.md @@ -719,6 +719,25 @@ filters: - ^.{1,2}$ ``` +# Data Retention + +Retention of transfer records on the UI (and in API endpoints) is, by default, indefinite; completed transfers will remain visible until they are manually removed. Users can optionally configure time-based retention rules for both uploads and downloads, and can specify different settings for different dispositions (succeeded, errored, and cancelled). + +All retention periods are specified in minutes. + +#### **YAML** +```yaml +retention: + upload: + succeeded: 1440 # 1 day + errored: 30 + cancelled: 5 + download: + succeeded: 1440 # 1 day + errored: 20160 # 2 weeks + cancelled: 5 +``` + # Integrations ## FTP |
