Fetch preview requests through the MediaProxy. Separate connection options are not needed.
Use a separate pool for preview requests
This commit is contained in:
parent
85446cc30c
commit
6141eb94ab
3 changed files with 8 additions and 40 deletions
|
|
@ -1978,27 +1978,6 @@ config :pleroma, :config_description, [
|
|||
key: :image_quality,
|
||||
type: :integer,
|
||||
description: "Quality of the output. Ranges from 0 (min quality) to 100 (max quality)."
|
||||
},
|
||||
%{
|
||||
key: :proxy_opts,
|
||||
type: :keyword,
|
||||
description: "Media proxy options",
|
||||
suggestions: [
|
||||
head_request_max_read_duration: 5_000
|
||||
],
|
||||
children: [
|
||||
%{
|
||||
key: :head_request_max_read_duration,
|
||||
type: :integer,
|
||||
description: "Timeout (in milliseconds) of HEAD request to remote URI."
|
||||
}
|
||||
]
|
||||
},
|
||||
%{
|
||||
key: :whitelist,
|
||||
type: {:list, :string},
|
||||
description: "List of hosts with scheme to bypass the mediaproxy",
|
||||
suggestions: ["http://example.com"]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue