Skip to content

Commit

Permalink
Increase EPP client timeout
Browse files Browse the repository at this point in the history
Fixes #22
  • Loading branch information
Artur Beljajev committed Aug 23, 2019
1 parent 9e7a3d8 commit 5e40ced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/epp_proxy/src/epp_http_client.erl
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ request_from_map(#{command := Command,
hackney_options(Cookies) ->
case application:get_env(epp_proxy, insecure) of
false -> [{cookie, Cookies}, insecure];
_ -> [{cookie, Cookies}]
_ -> [{cookie, Cookies}, {connect_timeout, 120000}, {recv_timeout, 120000}]
end.

%% Return form data or an empty list.
Expand Down

0 comments on commit 5e40ced

Please sign in to comment.