Max media attachment count

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2022-02-06 17:41:15 +01:00
commit e473bcf7a0
6 changed files with 58 additions and 2 deletions

View file

@ -259,7 +259,8 @@ config :pleroma, :instance,
privileged_staff: false,
max_endorsed_users: 20,
birthday_required: false,
birthday_min_age: 0
birthday_min_age: 0,
max_media_attachments: 1_000
config :pleroma, :welcome,
direct_message: [

View file

@ -552,6 +552,14 @@ config :pleroma, :config_description, [
100_000
]
},
%{
key: :max_media_attachments,
type: :integer,
description: "Maximum number of post media attachments",
suggestions: [
1_000_000
]
},
%{
key: :upload_limit,
type: :integer,