aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/http/connection.ex
diff options
context:
space:
mode:
authorHakaba Hitoyo <hakabahitoyo@example.com>2018-12-06 11:23:15 +0900
committerHakaba Hitoyo <hakabahitoyo@example.com>2018-12-06 11:23:15 +0900
commit27792b2d77564717e7d4063ab3524ab9e1cb1fb6 (patch)
tree5751cc8aabc3672c0d17835b3a138e2eabfc84e3 /lib/pleroma/http/connection.ex
parent505d82082726aa91fc2511165a67e266ce16ec4f (diff)
downloadpleroma-27792b2d77564717e7d4063ab3524ab9e1cb1fb6.tar.gz
remove pool and timeout options which duplicate with the default
Diffstat (limited to 'lib/pleroma/http/connection.ex')
-rw-r--r--lib/pleroma/http/connection.ex6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/pleroma/http/connection.ex b/lib/pleroma/http/connection.ex
index 5e8f2aabd..66e0d0568 100644
--- a/lib/pleroma/http/connection.ex
+++ b/lib/pleroma/http/connection.ex
@@ -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 """