ordered_set

This commit is contained in:
Feng Lee 2015-05-31 11:40:07 +08:00
parent 73cb2389d9
commit 253717d5a1
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ start_link() ->
supervisor:start_link({local, ?MODULE}, ?MODULE, []).
init([]) ->
ets:new(emqttd_cm:table(), [set, named_table, public, {keypos, 2},
ets:new(emqttd_cm:table(), [ordered_set, named_table, public, {keypos, 2},
{write_concurrency, true}]),
Schedulers = erlang:system_info(schedulers),
gproc_pool:new(emqttd_cm:pool(), hash, [{size, Schedulers}]),