summaryrefslogtreecommitdiff
path: root/config/description.exs
diff options
context:
space:
mode:
authorRoman Chvanikov <chvanikoff@pm.me>2020-01-31 01:20:37 +0300
committerRoman Chvanikov <chvanikoff@pm.me>2020-01-31 01:20:37 +0300
commit8057157ee3172c370200f328373f0a7e32092b91 (patch)
treea985d42be30ca2f7c6e5feccf1f9b42f757062c6 /config/description.exs
parentc27d1d65bfd60effdb45359697141c136e156177 (diff)
downloadpleroma-8057157ee3172c370200f328373f0a7e32092b91.tar.gz
pleroma-8057157ee3172c370200f328373f0a7e32092b91.zip
Make attachments cleanup optional
Diffstat (limited to 'config/description.exs')
-rw-r--r--config/description.exs9
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.",