Avoid using "bag" ETS type for certificate storage

This commit is contained in:
Evgeniy Khramtsov 2017-11-01 08:47:07 +03:00
parent 35dc164233
commit 86809dff06
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ opt_type(_) ->
init([]) ->
Notify = start_fs(),
process_flag(trap_exit, true),
ets:new(?MODULE, [named_table, public, bag]),
ets:new(?MODULE, [named_table, public]),
ejabberd_hooks:add(route_registered, ?MODULE, route_registered, 50),
ejabberd_hooks:add(config_reloaded, ?MODULE, config_reloaded, 30),
Validate = case os:type() of