diff --git a/config.js b/config.js index e6d1007..232ea99 100644 --- a/config.js +++ b/config.js @@ -1,6 +1,6 @@ export default { verbose : true, - interval : 15, // In minutes + nDataPoints : 90, responseTimeGood : 300, // In milliseconds, this and below will be green responseTimeWarning : 600, // In milliseconds, above this will be red timeout : 5000, // In milliseconds, requests will be aborted above this. (Do not ) diff --git a/watcher.js b/watcher.js index 6c99e74..e8d6778 100644 --- a/watcher.js +++ b/watcher.js @@ -34,6 +34,7 @@ while(true) { status.lastPulse = startPulse; status.config = { interval : config.interval, + nDataPoints : config.nDataPoints, responseTimeGood : config.responseTimeGood, responseTimeWarning : config.responseTimeWarning, };