summaryrefslogtreecommitdiff
path: root/lib/custodian/alerts/redis-state.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/custodian/alerts/redis-state.rb')
-rw-r--r--lib/custodian/alerts/redis-state.rb4
1 files changed, 2 insertions, 2 deletions
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"