ordered_set
This commit is contained in:
parent
73cb2389d9
commit
253717d5a1
|
@ -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}]),
|
||||
|
|
Loading…
Reference in New Issue