25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

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

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