remove pool and timeout options which duplicate with the default

This commit is contained in:
Hakaba Hitoyo 2018-12-06 11:23:15 +09:00
commit 27792b2d77
5 changed files with 9 additions and 22 deletions

View file

@ -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 """