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:
parent
68225c6ef9
commit
fbf08b3669
|
@ -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}}
|
||||
|
|
Loading…
Reference in New Issue