diff options
author | dormando <dormando@rydia.net> | 2009-04-01 14:20:38 -0700 |
---|---|---|
committer | Dustin Sallings <dustin@spy.net> | 2009-04-01 14:31:02 -0700 |
commit | 756cf326e53b0ddbfa1f9d1254851b5881456c6b (patch) | |
tree | 7a194ade166544709f19bd04df851e78b0954691 | |
parent | 0cbcacf80bf1e56db38ef529a730be844ba5c521 (diff) | |
download | memcached-756cf326e53b0ddbfa1f9d1254851b5881456c6b.tar.gz |
'stats reset' resets new main stats.
-rw-r--r-- | memcached.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/memcached.c b/memcached.c index 8205da9..ac6ac4a 100644 --- a/memcached.c +++ b/memcached.c @@ -175,6 +175,7 @@ static void stats_reset(void) { STATS_LOCK(); stats.total_items = stats.total_conns = 0; stats.evictions = 0; + stats.listen_disabled_num = 0; stats_prefix_clear(); STATS_UNLOCK(); threadlocal_stats_reset(); |