From: antirez Date: Sun, 25 Mar 2012 09:43:19 +0000 (+0200) Subject: CONFIG RESETSTAT resets two more fields. X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/d0407c2d85f9c2ce2971a3cb96b958ae7e03b40f?hp=81f32c7b65c72a45fe1637ab0a661b144c54eb7c CONFIG RESETSTAT resets two more fields. --- diff --git a/src/config.c b/src/config.c index d38ba72b..a882db35 100644 --- a/src/config.c +++ b/src/config.c @@ -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);