Skip to content

Commit

Permalink
Update redis task. Disable RESET.
Browse files Browse the repository at this point in the history
  • Loading branch information
Barenboim committed Aug 30, 2024
1 parent a197a52 commit 6ad50c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/factory/RedisTaskImpl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ bool ComplexRedisTask::check_request()
if (this->req.get_command(command) &&
(strcasecmp(command.c_str(), "AUTH") == 0 ||
strcasecmp(command.c_str(), "SELECT") == 0 ||
strcasecmp(command.c_str(), "RESET") == 0 ||
strcasecmp(command.c_str(), "ASKING") == 0))
{
this->state = WFT_STATE_TASK_ERROR;
Expand Down

0 comments on commit 6ad50c7

Please sign in to comment.