Skip to content

Commit

Permalink
fix timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
andymck committed May 24, 2022
1 parent 920a31c commit 45163af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http2_client.erl
Expand Up @@ -372,7 +372,7 @@ init({Transport0, Host, Port, Options, Owner}) ->
{[], Options}
end,
ConnectResult = Transport:connect(Host, Port,
TransportOptions ++ default_opts(Transport)), ?CONNECT_TIMEOUT,
TransportOptions ++ default_opts(Transport), ?CONNECT_TIMEOUT),
case ConnectResult of
{ok, Socket} ->
Ref = monitor(port, Socket),
Expand Down

0 comments on commit 45163af

Please sign in to comment.