From 46f0e4e3378311841fb65e344b48063a7eb1c084 Mon Sep 17 00:00:00 2001 From: Anthony Chen Date: Fri, 21 Dec 2018 12:25:56 -0500 Subject: [PATCH] feat(client): removes HTTP response timeout (#23) --- lib/lob/client.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lob/client.ex b/lib/lob/client.ex index c8ec709..160e413 100644 --- a/lib/lob/client.ex +++ b/lib/lob/client.ex @@ -101,7 +101,7 @@ defmodule Lob.Client do @spec build_options(String.t) :: Keyword.t defp build_options(api_key \\ api_key()) do - [hackney: [basic_auth: {api_key, ""}]] + [hackney: [basic_auth: {api_key, ""}], recv_timeout: :infinity] end @spec default_headers(String.t | nil) :: %{String.t => String.t}