diff --git a/src/main.js b/src/main.js index 250057f..877592d 100644 --- a/src/main.js +++ b/src/main.js @@ -10,8 +10,12 @@ import "./styles.css"; const CONFIG = Object.freeze({ updateInterval: 3000, historyDuration: 300, - requestTimeout: 1500, - maxLatency: 1500, + get requestTimeout() { + return this.updateInterval - 50; + }, + get maxLatency() { + return this.requestTimeout; + }, graphMaxLatency: 1000, yAxisTicks: [0, 250, 500, 750, 1000], xAxisTicks: [0, 60, 120, 180, 240, 300],