http: connection: relax the timeouts a little
authorWilliam Pitcock <nenolod@dereferenced.org>
Fri, 8 Mar 2019 22:50:43 +0000 (22:50 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Fri, 8 Mar 2019 22:56:16 +0000 (22:56 +0000)
lib/pleroma/http/connection.ex

index 926f892bab4f8b1a2e176943203a5a972613aeb9..1477c6dd6fdc0da56978ace862e240aca4f173cd 100644 (file)
@@ -8,8 +8,8 @@ defmodule Pleroma.HTTP.Connection do
   """
 
   @hackney_options [
-    connect_timeout: 1_000,
-    recv_timeout: 10_000,
+    connect_timeout: 2_000,
+    recv_timeout: 20_000,
     follow_redirect: true,
     pool: :federation
   ]