added nDataPoints to config.

This commit is contained in:
ybouane 2024-10-09 23:32:39 -04:00
parent aacc3a074b
commit d72f2f74e0
2 changed files with 2 additions and 1 deletions

View file

@ -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 )

View file

@ -34,6 +34,7 @@ while(true) {
status.lastPulse = startPulse;
status.config = {
interval : config.interval,
nDataPoints : config.nDataPoints,
responseTimeGood : config.responseTimeGood,
responseTimeWarning : config.responseTimeWarning,
};