CONFIG RESETSTAT resets two more fields.

This commit is contained in:
antirez 2012-03-25 11:43:19 +02:00
parent c1d01b3c57
commit ca09ad4d64

View File

@ -859,6 +859,8 @@ void configCommand(redisClient *c) {
server.stat_numcommands = 0;
server.stat_numconnections = 0;
server.stat_expiredkeys = 0;
server.stat_rejected_conn = 0;
server.stat_fork_time = 0;
server.aof_delayed_fsync = 0;
resetCommandTableStats();
addReply(c,shared.ok);