0.17.1
This commit is contained in:
parent
9ba9d2d794
commit
2a16888f07
|
@ -1,7 +1,7 @@
|
|||
{application, emqttd,
|
||||
[
|
||||
{description, "Erlang MQTT Broker"},
|
||||
{vsn, "0.17.0"},
|
||||
{vsn, "0.17.1"},
|
||||
{id, "emqttd"},
|
||||
{modules, []},
|
||||
{registered, []},
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
stack_size,
|
||||
reductions]).
|
||||
|
||||
-define(MAX_LINES, 10000).
|
||||
-define(MAX_LIMIT, 10000).
|
||||
|
||||
-define(APP, emqttd).
|
||||
|
||||
|
@ -266,7 +266,7 @@ subscriptions(_) ->
|
|||
|
||||
if_could_print(Tab, Fun) ->
|
||||
case mnesia:table_info(Tab, size) of
|
||||
Size when Size >= ?MAX_LINES ->
|
||||
Size when Size >= ?MAX_LIMIT ->
|
||||
?PRINT("Could not list, too many ~ss: ~p~n", [Tab, Size]);
|
||||
_Size ->
|
||||
Keys = mnesia:dirty_all_keys(Tab),
|
||||
|
|
Loading…
Reference in New Issue