diff options
author | dormando <dormando@rydia.net> | 2017-08-24 21:17:25 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2017-08-24 21:17:25 -0700 |
commit | d8661238da17dd5380536cb47a2059e56ca5d69e (patch) | |
tree | 4574d5e5dfefa65f697fc15621b6512a59f335c1 /t/stats.t | |
parent | bac46b38343c15db9c921ea023f01359cff8aced (diff) | |
download | memcached-d8661238da17dd5380536cb47a2059e56ca5d69e.tar.gz |
add max_connections stat to 'stats' output
since maxbytes is stated twice anyway, lets make it easier for monitoring
scripts to tell when connections are filling up.
Inspired by a PR from thatsafunnyname on github.
Diffstat (limited to 't/stats.t')
-rwxr-xr-x | t/stats.t | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ my $sock = $server->sock; my $stats = mem_stats($sock); # Test number of keys -is(scalar(keys(%$stats)), 71, "expected count of stats values"); +is(scalar(keys(%$stats)), 72, "expected count of stats values"); # Test initial state foreach my $key (qw(curr_items total_items bytes cmd_get cmd_set get_hits evictions get_misses get_expired |