From b383a24c78dd068cebcf7852ba80f56b0e616d43 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Mon, 16 Nov 2015 16:08:27 +0200 Subject: Keep 8k history-transitions. --- lib/custodian/alerts/redis-state.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/custodian/alerts') diff --git a/lib/custodian/alerts/redis-state.rb b/lib/custodian/alerts/redis-state.rb index 3abf2ad..51fab20 100644 --- a/lib/custodian/alerts/redis-state.rb +++ b/lib/custodian/alerts/redis-state.rb @@ -121,7 +121,7 @@ module Custodian tmp['reason'] = @test.error @redis.lpush( "#{key}.history", tmp.to_json) - @redis.ltrim('#{key}.history', 0, 100) + @redis.ltrim('#{key}.history', 0, 8192) end end -- cgit v1.2.1