iloire / watchmen

A simple node.js service monitor
MIT License
941 stars 199 forks source link

Fixes issue #2 with downtime being NaN #3

Closed Nibbler999 closed 12 years ago

Nibbler999 commented 12 years ago

The timestamp comes back from redis as a string which new Date() does not accept. This change makes it report the number of seconds downtime correctly.

iloire commented 12 years ago

Thanks!!