Skip to content

Commit

Permalink
bugfix: fix the config get *'s redis protocal
Browse files Browse the repository at this point in the history
  • Loading branch information
JacketWoo committed Jul 8, 2016
1 parent a51ff5f commit 1936d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pika_admin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ void ConfigCmd::ConfigGet(std::string &ret) {
EncodeString(&ret, "no");
}
} else if (get_item == "*") {
ret = "*58\r\n";
ret = "*60\r\n";
EncodeString(&ret, "port");
EncodeInt32(&ret, g_pika_conf->port());
EncodeString(&ret, "thread-num");
Expand Down

0 comments on commit 1936d9a

Please sign in to comment.