diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-08-02 17:33:42 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-08-02 17:33:42 +0100 |
commit | 10141ed04af966ee280dcea1d733e0b036127afc (patch) | |
tree | 21dd6e4f4ece87288424fce7fdb866378c0edc5b /lib/mauve/timer.rb | |
parent | 25b32914b72a5f709eca773f3511cc89c2e710c2 (diff) | |
parent | f07c5705d4ec82f4ba851409d4a92a9f66820df8 (diff) |
merge
Diffstat (limited to 'lib/mauve/timer.rb')
-rw-r--r-- | lib/mauve/timer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mauve/timer.rb b/lib/mauve/timer.rb index 8533451..1c8c37c 100644 --- a/lib/mauve/timer.rb +++ b/lib/mauve/timer.rb @@ -49,7 +49,7 @@ module Mauve # # La la la nothing to do. # - logger.info("Next to notify: #{next_to_notify} -- snoozing until #{next_to_notify.due_at}") + logger.info("Next to notify: #{next_to_notify} #{next_to_notify.is_a?(AlertChanged) ? "(reminder)" : "(heartbeat)"} -- snoozing until #{next_to_notify.due_at.iso8601}") sleep_loops = ((next_to_notify.due_at - MauveTime.now).to_f / 0.1).round.to_i end |