summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2013-01-24 14:15:58 +0000
committerSteve Kemp <steve@steve.org.uk>2013-01-24 14:15:58 +0000
commit0252f5940c9a7a20002ae20516a14026bf546c31 (patch)
tree0e23efdd8faccd69fefb7edd5b4d18a29030754e /lib
parent602bc8c3a6c82a7298ee397295fb437e1a55baea (diff)
fixed
Diffstat (limited to 'lib')
-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"