mirror of
https://github.com/henrygd/beszel.git
synced 2025-12-17 10:46:16 +01:00
allow a bit more latency in the one minute chart points (#1247)
This commit is contained in:
@@ -129,7 +129,7 @@ export const updateFavicon = (() => {
|
|||||||
export const chartTimeData: ChartTimeData = {
|
export const chartTimeData: ChartTimeData = {
|
||||||
"1m": {
|
"1m": {
|
||||||
type: "1m",
|
type: "1m",
|
||||||
expectedInterval: 1000,
|
expectedInterval: 2000, // allow a bit of latency for one second updates (#1247)
|
||||||
label: () => t`1 minute`,
|
label: () => t`1 minute`,
|
||||||
format: (timestamp: string) => hourWithSeconds(timestamp),
|
format: (timestamp: string) => hourWithSeconds(timestamp),
|
||||||
ticks: 3,
|
ticks: 3,
|
||||||
|
|||||||
Reference in New Issue
Block a user