Skip to content

Commit

Permalink
feat(client): removes HTTP response timeout (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
itsachen authored Dec 21, 2018
1 parent d54f15e commit 46f0e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lob/client.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 46f0e4e

Please sign in to comment.