Explorar el Código

Remove the 'infinity' timeout

Feng Lee hace 9 años
padre
commit
79217fdade
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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]])}.
 
 info(CPid) ->
-    gen_server:call(CPid, info, infinity).
+    gen_server:call(CPid, info).
 
 stats(CPid) ->
     gen_server:call(CPid, stats).