diff options
Diffstat (limited to 'lib/mauve/heartbeat.rb')
-rw-r--r-- | lib/mauve/heartbeat.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mauve/heartbeat.rb b/lib/mauve/heartbeat.rb index add0cdf..39d3499 100644 --- a/lib/mauve/heartbeat.rb +++ b/lib/mauve/heartbeat.rb @@ -66,8 +66,8 @@ module Mauve message.id = "mauve-heartbeat" message.summary = self.summary message.detail = self.detail - message.raise_time = (MauveTime.now.to_f+self.raise_after).to_i - message.clear_time = MauveTime.now.to_i + message.raise_time = (Time.now.to_f+self.raise_after).to_i + message.clear_time = Time.now.to_i update.alert << message |