mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Update ejabberd_sm_redis.erl
This commit is contained in:
parent
96e35a3248
commit
6fc6bdefc2
@ -37,7 +37,6 @@
|
|||||||
-export([init/1, handle_cast/2, handle_call/3, handle_info/2,
|
-export([init/1, handle_cast/2, handle_call/3, handle_info/2,
|
||||||
terminate/2, code_change/3, start_link/0]).
|
terminate/2, code_change/3, start_link/0]).
|
||||||
|
|
||||||
-include("ejabberd.hrl").
|
|
||||||
-include("ejabberd_sm.hrl").
|
-include("ejabberd_sm.hrl").
|
||||||
-include("logger.hrl").
|
-include("logger.hrl").
|
||||||
|
|
||||||
@ -160,7 +159,7 @@ handle_info({redis_message, ?SM_KEY, Data}, State) ->
|
|||||||
end,
|
end,
|
||||||
{noreply, State};
|
{noreply, State};
|
||||||
handle_info(Info, State) ->
|
handle_info(Info, State) ->
|
||||||
?ERROR_MSG("unexpected info: ~p in cluster server", [Info]),
|
?ERROR_MSG("unexpected info: ~p ", [Info]),
|
||||||
{noreply, State}.
|
{noreply, State}.
|
||||||
|
|
||||||
terminate(_Reason, _State) ->
|
terminate(_Reason, _State) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user