From d72f2f74e05dd2d4382595955640d4a94986f9d0 Mon Sep 17 00:00:00 2001 From: ybouane Date: Wed, 9 Oct 2024 23:32:39 -0400 Subject: [PATCH] added nDataPoints to config. --- config.js | 2 +- watcher.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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, };