mirror of
https://github.com/Kizuren/statusPage.git
synced 2025-12-21 21:16:09 +01:00
added nDataPoints to config.
This commit is contained in:
parent
aacc3a074b
commit
d72f2f74e0
2 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
export default {
|
export default {
|
||||||
verbose : true,
|
verbose : true,
|
||||||
interval : 15, // In minutes
|
nDataPoints : 90,
|
||||||
responseTimeGood : 300, // In milliseconds, this and below will be green
|
responseTimeGood : 300, // In milliseconds, this and below will be green
|
||||||
responseTimeWarning : 600, // In milliseconds, above this will be red
|
responseTimeWarning : 600, // In milliseconds, above this will be red
|
||||||
timeout : 5000, // In milliseconds, requests will be aborted above this. (Do not )
|
timeout : 5000, // In milliseconds, requests will be aborted above this. (Do not )
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,7 @@ while(true) {
|
||||||
status.lastPulse = startPulse;
|
status.lastPulse = startPulse;
|
||||||
status.config = {
|
status.config = {
|
||||||
interval : config.interval,
|
interval : config.interval,
|
||||||
|
nDataPoints : config.nDataPoints,
|
||||||
responseTimeGood : config.responseTimeGood,
|
responseTimeGood : config.responseTimeGood,
|
||||||
responseTimeWarning : config.responseTimeWarning,
|
responseTimeWarning : config.responseTimeWarning,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue