diff options
| author | href <href@random.sh> | 2020-05-14 21:36:31 +0200 |
|---|---|---|
| committer | href <href@random.sh> | 2020-06-16 15:15:50 +0200 |
| commit | ec1452fd1cdb9cb1db9b8bad872916d3213489e2 (patch) | |
| tree | be89364e07901a2fcaf5b943ac3492e71463b1df /config | |
| parent | 1e49bfa9acb4176a161181edcaf04e886c638c42 (diff) | |
| download | pleroma-ec1452fd1cdb9cb1db9b8bad872916d3213489e2.tar.gz pleroma-ec1452fd1cdb9cb1db9b8bad872916d3213489e2.zip | |
Pleroma.MIME: use gen_magic
Diffstat (limited to 'config')
| -rw-r--r-- | config/config.exs | 2 | ||||
| -rw-r--r-- | config/description.exs | 14 |
2 files changed, 16 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs index 6a7bb9e06..65aa8643e 100644 --- a/config/config.exs +++ b/config/config.exs @@ -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}, diff --git a/config/description.exs b/config/description.exs index b21d7840c..a318afbe6 100644 --- a/config/description.exs +++ b/config/description.exs @@ -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] + } + ] } ] |
