emqtt_pubsub:stats()

This commit is contained in:
Ery Lee 2015-03-08 15:39:20 +08:00
parent ca19a4e9e8
commit a04d127d01
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ handle_info(tick, State) ->
%%TODO... call emqtt_cm here?
[publish(systop(Stat), i2b(Val)) || {Stat, Val} <- emqtt_cm:stats()],
%%TODO... call emqtt_pubsub here?
[publish(systop(Stat), i2b(Val)) || {Stat, Val} <- emqtt_cm:stats()],
[publish(systop(Stat), i2b(Val)) || {Stat, Val} <- emqtt_pubsub:stats()],
{noreply, tick(State)};
handle_info(_Info, State) ->