INFO commandstats section reset with config resetstat, a new microseconds per call field, and a few other minor things

This commit is contained in:
antirez
2011-01-24 10:56:06 +01:00
parent 9b45592c69
commit d7ed7fd2fc
3 changed files with 24 additions and 8 deletions

View File

@ -555,6 +555,7 @@ void configCommand(redisClient *c) {
server.stat_numcommands = 0;
server.stat_numconnections = 0;
server.stat_expiredkeys = 0;
resetCommandTableStats();
addReply(c,shared.ok);
} else {
addReplyError(c,