Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

fix(beszel): use 480m interval for 1w/30d stats views

Thomas Camlong4383da38ef63
diff --git a/packages/request-handler/src/beszel.ts b/packages/request-handler/src/beszel.ts
index 235677682..b3828817d 100644
--- a/packages/request-handler/src/beszel.ts
+++ b/packages/request-handler/src/beszel.ts
@@ -115,8 +115,8 @@ const timePeriodConfig: Record<string, { type: string; perPage: number; cacheSec
"1h": { type: "1m", perPage: 60, cacheSeconds: 60 },
"12h": { type: "10m", perPage: 72, cacheSeconds: 300 },
"24h": { type: "20m", perPage: 72, cacheSeconds: 600 },
- "1w": { type: "1440m", perPage: 9, cacheSeconds: 1800 },
- "30d": { type: "1440m", perPage: 32, cacheSeconds: 3600 },
+ "1w": { type: "480m", perPage: 21, cacheSeconds: 1800 },
+ "30d": { type: "480m", perPage: 90, cacheSeconds: 3600 },
};
export interface BeszelStatsData {