Skip to content

Commit

Permalink
'stats reset' resets new main stats.
Browse files Browse the repository at this point in the history
  • Loading branch information
dormando authored and dustin committed Apr 1, 2009
1 parent 0cbcacf commit 756cf32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions memcached.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 756cf32

Please sign in to comment.