summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-11-16 16:08:27 +0200
committerSteve Kemp <steve@steve.org.uk>2015-11-16 16:08:27 +0200
commitb383a24c78dd068cebcf7852ba80f56b0e616d43 (patch)
tree69476ae1dcf49c8ec307f9f1899071408bdb37ee /lib
parent24bbe86b9969be9c2d16c0ceaac05b9ba34fb352 (diff)
Keep 8k history-transitions.
Diffstat (limited to 'lib')
-rw-r--r--lib/custodian/alerts/redis-state.rb2
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