Skip to content

Commit

Permalink
Merge pull request #45 from mhwest13/master
Browse files Browse the repository at this point in the history
Memcached_multi_ update, fixing evictions stats key collision.
  • Loading branch information
mhwest13 committed Feb 24, 2012
2 parents 503c2a0 + 281bd58 commit 4f03734
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/memcached/memcached_multi_
Expand Up @@ -810,6 +810,9 @@ sub fetch_stats {
while (my $line = <$s>) {
if ($line =~ /STAT\s(.+?)\s(.*)/) {
my ($skey,$svalue) = ($1,$2);
if ($skey eq 'evictions') {
$skey = 'evictions_active';
}
$stats{$skey} = $svalue;
}
last if $line =~ /^END/;
Expand Down

0 comments on commit 4f03734

Please sign in to comment.