Remove the 'infinity' timeout

This commit is contained in:
Feng Lee 2017-02-18 14:14:24 +08:00
parent 87d62970d3
commit 79217fdade
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ start_link(Conn, Env) ->
{ok, proc_lib:spawn_link(?MODULE, init, [[Conn, Env]])}. {ok, proc_lib:spawn_link(?MODULE, init, [[Conn, Env]])}.
info(CPid) -> info(CPid) ->
gen_server:call(CPid, info, infinity). gen_server:call(CPid, info).
stats(CPid) -> stats(CPid) ->
gen_server:call(CPid, stats). gen_server:call(CPid, stats).