Pleroma.MIME: use gen_magic
This commit is contained in:
parent
1e49bfa9ac
commit
ec1452fd1c
13 changed files with 52 additions and 64 deletions
|
|
@ -678,6 +678,8 @@ config :pleroma, :hackney_pools,
|
|||
timeout: 300_000
|
||||
]
|
||||
|
||||
config :pleroma, :gen_magic_pool, size: 2
|
||||
|
||||
config :pleroma, :restrict_unauthenticated,
|
||||
timelines: %{local: false, federated: false},
|
||||
profiles: %{local: false, remote: false},
|
||||
|
|
|
|||
|
|
@ -3325,5 +3325,19 @@ config :pleroma, :config_description, [
|
|||
suggestions: [false]
|
||||
}
|
||||
]
|
||||
},
|
||||
%{
|
||||
group: :pleroma,
|
||||
key: :gen_magic_pool,
|
||||
type: :group,
|
||||
description: "GenMagic/libmagic configuration",
|
||||
children: [
|
||||
%{
|
||||
key: :size,
|
||||
type: :integer,
|
||||
description: "Number of gen_magic workers to start.",
|
||||
suggestions: [2]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue