diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-11-16 16:08:27 +0200 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-11-16 16:08:27 +0200 |
commit | b383a24c78dd068cebcf7852ba80f56b0e616d43 (patch) | |
tree | 69476ae1dcf49c8ec307f9f1899071408bdb37ee | |
parent | 24bbe86b9969be9c2d16c0ceaac05b9ba34fb352 (diff) |
Keep 8k history-transitions.
-rw-r--r-- | lib/custodian/alerts/redis-state.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |