mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 18:05:44 +02:00
chore(server-family): do not log SETINFO (#2065)
* chore(server-family): do not log SETINFO * address gh comments
This commit is contained in:
parent
254fb2dd5a
commit
67b8908805
1 changed files with 4 additions and 0 deletions
|
@ -1191,6 +1191,10 @@ void ServerFamily::Client(CmdArgList args, ConnectionContext* cntx) {
|
|||
return (*cntx)->SendBulkString(result);
|
||||
}
|
||||
|
||||
if (sub_cmd == "SETINFO") {
|
||||
return (*cntx)->SendOk();
|
||||
}
|
||||
|
||||
LOG_FIRST_N(ERROR, 10) << "Subcommand " << sub_cmd << " not supported";
|
||||
return (*cntx)->SendError(UnknownSubCmd(sub_cmd, "CLIENT"), kSyntaxErrType);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue