Switch from gen_magic to majic, use Majic.Plug, remove Pleroma.MIME
This commit is contained in:
parent
ec1452fd1c
commit
f124f68205
20 changed files with 60 additions and 158 deletions
|
|
@ -678,7 +678,7 @@ config :pleroma, :hackney_pools,
|
|||
timeout: 300_000
|
||||
]
|
||||
|
||||
config :pleroma, :gen_magic_pool, size: 2
|
||||
config :pleroma, :majic_pool, size: 2
|
||||
|
||||
config :pleroma, :restrict_unauthenticated,
|
||||
timelines: %{local: false, federated: false},
|
||||
|
|
|
|||
|
|
@ -3328,14 +3328,14 @@ config :pleroma, :config_description, [
|
|||
},
|
||||
%{
|
||||
group: :pleroma,
|
||||
key: :gen_magic_pool,
|
||||
key: :majic_pool,
|
||||
type: :group,
|
||||
description: "GenMagic/libmagic configuration",
|
||||
description: "Majic/libmagic configuration",
|
||||
children: [
|
||||
%{
|
||||
key: :size,
|
||||
type: :integer,
|
||||
description: "Number of gen_magic workers to start.",
|
||||
description: "Number of majic workers to start.",
|
||||
suggestions: [2]
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue