Browse Source

Remove the 'infinity' timeout

Feng Lee 9 years ago
parent
commit
79217fdade
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/emqttd_client.erl

+ 1 - 1
src/emqttd_client.erl

@@ -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).