Skip to content

Commit

Permalink
fix pttl cmd error (#433)
Browse files Browse the repository at this point in the history
  • Loading branch information
hahahashen authored Aug 24, 2024
1 parent b195f25 commit db570f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd_keys.cc
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ void PttlCmd::DoCmd(PClient* client) {
if (timestamp == -3) {
client->SetRes(CmdRes::kErrOther, "ttl internal error");
} else {
client->AppendInteger(timestamp);
client->AppendInteger(timestamp * 1000);
}
}

Expand Down

0 comments on commit db570f7

Please sign in to comment.