mirror of
https://github.com/processone/ejabberd.git
synced 2024-10-31 15:21:38 +01:00
Assign failed_auth ETS table to another owner
This commit is contained in:
parent
1413f5dd23
commit
9daf2dd925
@ -104,7 +104,8 @@ c2s_stream_started(#{ip := {Addr, _}} = State, _) ->
|
||||
%% gen_mod callbacks
|
||||
%%====================================================================
|
||||
start(Host, Opts) ->
|
||||
catch ets:new(failed_auth, [named_table, public]),
|
||||
catch ets:new(failed_auth, [named_table, public,
|
||||
{heir, erlang:group_leader(), none}]),
|
||||
gen_mod:start_child(?MODULE, Host, Opts).
|
||||
|
||||
stop(Host) ->
|
||||
|
Loading…
Reference in New Issue
Block a user