summaryrefslogtreecommitdiff
path: root/t/stats.t
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2017-08-24 21:17:25 -0700
committerdormando <dormando@rydia.net>2017-08-24 21:17:25 -0700
commitd8661238da17dd5380536cb47a2059e56ca5d69e (patch)
tree4574d5e5dfefa65f697fc15621b6512a59f335c1 /t/stats.t
parentbac46b38343c15db9c921ea023f01359cff8aced (diff)
downloadmemcached-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-xt/stats.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/stats.t b/t/stats.t
index f2a511c..a0b07ce 100755
--- a/t/stats.t
+++ b/t/stats.t
@@ -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