From b08e241fce9c0ed9e2709cb1e00077aa2dfa2120 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Mon, 18 Sep 2023 08:14:56 -0500 Subject: docs for retention --- docs/config.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'docs') 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 -- cgit v1.2.3