diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2020-09-04 18:30:39 +0400 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2020-10-07 18:34:29 +0400 |
commit | 3ad7492f9dd1c76cdbc64ad2246f8e9c8c5c4ae6 (patch) | |
tree | b9933046dd67d06cef6b4ef8e4c28c2252d2341b /config/description.exs | |
parent | a0ad9bd734e9af0ce912c32c7480a60ff87a4368 (diff) | |
download | pleroma-3ad7492f9dd1c76cdbc64ad2246f8e9c8c5c4ae6.tar.gz pleroma-3ad7492f9dd1c76cdbc64ad2246f8e9c8c5c4ae6.zip |
Add config for Pleroma.Backup
Diffstat (limited to 'config/description.exs')
-rw-r--r-- | config/description.exs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/config/description.exs b/config/description.exs index 13e44afe8..4942e196d 100644 --- a/config/description.exs +++ b/config/description.exs @@ -3712,5 +3712,25 @@ config :pleroma, :config_description, [ ] } ] + }, + %{ + group: :pleroma, + key: Pleroma.Backup, + type: :group, + description: "Account Backup", + children: [ + %{ + key: :purge_after_days, + type: :integer, + description: "Remove backup achives after N days", + suggestions: [30] + }, + %{ + key: :limit_days, + type: :integer, + description: "Limit user to export not more often than once per N days", + suggestions: [7] + } + ] } ] |