From e50a695268d42b79af32e71638880b0bb5a0fb7e Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Thu, 24 Jan 2013 14:15:58 +0000 Subject: fixed --- lib/custodian/alerts/redis-state.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/custodian/alerts/redis-state.rb b/lib/custodian/alerts/redis-state.rb index d2c525d..b2bd0ab 100644 --- a/lib/custodian/alerts/redis-state.rb +++ b/lib/custodian/alerts/redis-state.rb @@ -131,8 +131,8 @@ module Custodian # Now store the duration, and trim it to the most recent # 1000 entries. # - @redis.lpush( "#{host}-#{test}", ms ) - @redis.ltrim( "#{host}-#{test}", "0", "1200" ) + @redis.lpush( "duration-#{host}-#{test}", ms ) + @redis.ltrim( "duration-#{host}-#{test}", "0", "1200" ) end register_alert_type "redis" -- cgit v1.2.1