]> 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:42 +0000 (11:43 +0200)
src/config.c

index d38ba72b13fa49a3539e66445d92848c69264c65..a882db35704954e9a05b75b583512ac6123d8120 100644 (file)
@@ -852,6 +852,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);