This commit is contained in:
anlicheng 2026-02-28 22:42:41 +08:00
parent 17532cb729
commit 6f8d936dfc

View File

@ -53,6 +53,9 @@ loop(State=#state{socket = Socket, command = Command = #command{data = Data}}) -
end. end.
%% %%
handle_command([<<"PING">>]) ->
{reply, encode({single_line, <<"PONG">>})};
handle_command(Args) -> handle_command(Args) ->
logger:debug("[maxwell_redis_channel] args: ~p", [Args]), logger:debug("[maxwell_redis_channel] args: ~p", [Args]),
{reply, encode({error, <<"Unsuported Command">>})}. {reply, encode({error, <<"Unsuported Command">>})}.