diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-08-31 12:19:48 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-08-31 12:19:48 +0100 |
commit | b87b69ca3fb266bdb5de88b9e77da54e23e370a5 (patch) | |
tree | 94698670ecd9b8562ae41b0ab793fac821f91f97 /lib/mauve/notification.rb | |
parent | 36543941d784715e962599f7bf73f4680387e610 (diff) |
Fixed up alert suppression to be less jumpy
Diffstat (limited to 'lib/mauve/notification.rb')
-rw-r--r-- | lib/mauve/notification.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mauve/notification.rb b/lib/mauve/notification.rb index 2007b90..00ce989 100644 --- a/lib/mauve/notification.rb +++ b/lib/mauve/notification.rb @@ -99,6 +99,7 @@ module Mauve ## Return true if the alert has not been acknowledged within a certain time. # def unacknowledged(seconds) + @test_time = @time if @test_time.nil? @alert && @alert.raised? && !@alert.acknowledged? && |