diff options
| author | JP Dillingham <jp@dillingham.me> | 2023-09-18 08:46:09 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-18 08:46:09 -0500 |
| commit | 77ec3da43c11449d2d4ae64c1413505f7a7741a2 (patch) | |
| tree | 3eb7d438339be0b7e7b8ef2ded969231422d26fa /docs | |
| parent | a505a5ee4072d0f50e747e05e1f4b1de86f4c396 (diff) | |
| parent | 4cdefceae542f59de2d55ffcafc03f2af5edfcc9 (diff) | |
| download | slskd-77ec3da43c11449d2d4ae64c1413505f7a7741a2.tar.gz | |
Merge pull request #972 from slskd/scheduler
Add retention settings for transfers, check for 'expired' transfers on a 5 minute interval and remove (soft delete) them
Diffstat (limited to 'docs')
| -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..b08cd797 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). Transfers are checked for expiration on a 5 minute interval, and the minimum retention time is 5 minutes. + +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 |
