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

ext_mod: Handle info message when contrib module transfers table ownership

This commit is contained in:
Badlop 2024-07-25 16:19:45 +02:00
parent 10d1704899
commit a565b0e4c1

View File

@ -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}.