http: rework connection timeouts to match hackney docs, enforce 1 second max TCP connection timeout
This commit is contained in:
parent
773f532b14
commit
19afd9f81f
4 changed files with 2 additions and 5 deletions
|
|
@ -11,7 +11,6 @@ defmodule Pleroma.Web.RichMedia.Parser do
|
|||
|
||||
@hackney_options [
|
||||
pool: :media,
|
||||
timeout: 2_000,
|
||||
recv_timeout: 2_000,
|
||||
max_body: 2_000_000
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue