fix issue #75
This commit is contained in:
parent
4ab10e191a
commit
33be1a87e6
|
@ -252,7 +252,7 @@ init([]) ->
|
||||||
|
|
||||||
handle_call(getstats, _From, State = #state{max_subs = Max}) ->
|
handle_call(getstats, _From, State = #state{max_subs = Max}) ->
|
||||||
Stats = [{'topics/count', mnesia:table_info(topic, size)},
|
Stats = [{'topics/count', mnesia:table_info(topic, size)},
|
||||||
{'subscribers/count', mnesia:info(topic_subscriber, size)},
|
{'subscribers/count', mnesia:table_info(topic_subscriber, size)},
|
||||||
{'subscribers/max', Max}],
|
{'subscribers/max', Max}],
|
||||||
{reply, Stats, State};
|
{reply, Stats, State};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue