Restore the default gen_server timeout around ssl:setopts/2

amqp_main_reader:post_init/1 is invoked within
amqp_gen_connection:connect/1  with a timeout of ?CALL_TIMEOUT, so the
same timeout interval cannot be reasonably for both
This commit is contained in:
Philip Kuryloski 2020-10-22 14:43:27 +02:00
parent 68225c6ef9
commit fbf08b3669
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ start_link(Sock, Connection, ChMgr, AState, ConnName) ->
post_init(Reader) ->
try
gen_server:call(Reader, post_init, ?CALL_TIMEOUT)
gen_server:call(Reader, post_init)
catch
exit:{timeout, Timeout} ->
{error, {timeout, Timeout}}