diff options
author | lain <lain@soykaf.club> | 2020-02-04 15:29:26 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-02-04 15:29:26 +0000 |
commit | a56db789359c7c7d57b45e6c68f791eeadc171e4 (patch) | |
tree | 442be8df766b9ab15fff25677e5135d3a98b5421 /config/description.exs | |
parent | c27d1d65bfd60effdb45359697141c136e156177 (diff) | |
parent | 90b862e7ab2ad64aed63502bc52ae92e5c0a1791 (diff) | |
download | pleroma-a56db789359c7c7d57b45e6c68f791eeadc171e4.tar.gz pleroma-a56db789359c7c7d57b45e6c68f791eeadc171e4.zip |
Merge branch 'feature/make_attachments_cleanup_optional' into 'develop'
Make attachments cleanup optional
See merge request pleroma/pleroma!2170
Diffstat (limited to 'config/description.exs')
-rw-r--r-- | config/description.exs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/description.exs b/config/description.exs index 5f3c58b08..1ffb66287 100644 --- a/config/description.exs +++ b/config/description.exs @@ -765,6 +765,15 @@ config :pleroma, :config_description, [ " This will break federation with older software for theses nicknames." }, %{ + key: :cleanup_attachments, + type: :boolean, + description: """ + "Set to `true` to remove associated attachments when status is removed. + This will not affect duplicates and attachments without status. + Enabling this will increase load to database when deleting statuses on larger instances. + """ + }, + %{ key: :max_pinned_statuses, type: :integer, description: "The maximum number of pinned statuses. 0 will disable the feature.", |