remove pool and timeout options which duplicate with the default
This commit is contained in:
parent
505d820827
commit
27792b2d77
5 changed files with 9 additions and 22 deletions
|
|
@ -3,7 +3,11 @@ defmodule Pleroma.HTTP.Connection do
|
|||
Connection for http-requests.
|
||||
"""
|
||||
|
||||
@hackney_options [pool: :default]
|
||||
@hackney_options [
|
||||
pool: :default,
|
||||
timeout: 10000,
|
||||
recv_timeout: 20000
|
||||
]
|
||||
@adapter Application.get_env(:tesla, :adapter)
|
||||
|
||||
@doc """
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue