Make attachments cleanup optional
This commit is contained in:
parent
c27d1d65bf
commit
8057157ee3
5 changed files with 63 additions and 8 deletions
|
|
@ -271,7 +271,8 @@ config :pleroma, :instance,
|
|||
account_field_name_length: 512,
|
||||
account_field_value_length: 2048,
|
||||
external_user_synchronization: true,
|
||||
extended_nickname_format: true
|
||||
extended_nickname_format: true,
|
||||
cleanup_attachments: false
|
||||
|
||||
config :pleroma, :feed,
|
||||
post_title: %{
|
||||
|
|
|
|||
|
|
@ -764,6 +764,15 @@ config :pleroma, :config_description, [
|
|||
"Set to `true` to use extended local nicknames format (allows underscores/dashes)." <>
|
||||
" 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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue