Switch from gen_magic to majic, use Majic.Plug, remove Pleroma.MIME

This commit is contained in:
href 2020-06-16 15:11:45 +02:00
commit f124f68205
20 changed files with 60 additions and 158 deletions

View file

@ -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},

View file

@ -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]
}
]