mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
ext_mod: Handle info message when contrib module transfers table ownership
This commit is contained in:
parent
10d1704899
commit
a565b0e4c1
1 changed files with 5 additions and 0 deletions
|
@ -79,6 +79,11 @@ handle_cast(Msg, State) ->
|
||||||
?WARNING_MSG("Unexpected cast: ~p", [Msg]),
|
?WARNING_MSG("Unexpected cast: ~p", [Msg]),
|
||||||
{noreply, State}.
|
{noreply, State}.
|
||||||
|
|
||||||
|
handle_info({'ETS-TRANSFER', Table, Process, Module}, State) ->
|
||||||
|
?DEBUG("ejabberd now controls ETS table ~p from process ~p for module ~p",
|
||||||
|
[Table, Process, Module]),
|
||||||
|
{noreply, State};
|
||||||
|
|
||||||
handle_info(Info, State) ->
|
handle_info(Info, State) ->
|
||||||
?WARNING_MSG("Unexpected info: ~p", [Info]),
|
?WARNING_MSG("Unexpected info: ~p", [Info]),
|
||||||
{noreply, State}.
|
{noreply, State}.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue