yahoo / monitr

A Node.js process monitoring tool.
BSD 3-Clause "New" or "Revised" License
317 stars 39 forks source link

custom refresh interval #36

Open amit777 opened 8 years ago

amit777 commented 8 years ago

It looks like the update interval is hard coded to 1000ms in monitor.cc. I'm not good enough with NodeJS to figure out how to pass a parameter from javascript .start() to the c++ code.

amit777 commented 8 years ago

Basically this is to set REPORT_INTERVAL_MS at runtime