]> git.saurik.com Git - redis.git/commitdiff
CONFIG RESETSTAT resets two more fields.
authorantirez <antirez@gmail.com>
Sun, 25 Mar 2012 09:43:19 +0000 (11:43 +0200)
committerantirez <antirez@gmail.com>
Sun, 25 Mar 2012 09:43:19 +0000 (11:43 +0200)
src/config.c

index 2be92426feab23391d402b711633e8d4a8df137e..ab49178ab0598b2a41db91ed37eb25eb936a5f2d 100644 (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);