fix: Rollup vor der Aufbewahrung, größere Achsenbeschriftung bei 320 px, Skript verlauf.mjs (#1197)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GmHhg7qE8FdhchzsBrwgjZ
This commit is contained in:
2026-11-22 16:30:15 +01:00
parent d715c080fb
commit e608dae39e
3 changed files with 35 additions and 5 deletions

View File

@ -216,6 +216,9 @@ line.dg-cursor { stroke: var(--text); stroke-width: 1; stroke-dasharray: 3 3; po
@media (max-width: 40rem) {
.dg-text { font-size: 17px; }
}
@media (max-width: 30rem) {
.dg-text { font-size: 21px; }
}
@media (min-width: 40rem) and (max-width: 56rem) {
.dg-text { font-size: 13px; }
}

View File

@ -269,6 +269,11 @@ fn spawn_background_jobs(
(config.metrics_rollup5_days, config.metrics_rollup60_days);
jobs.push(tokio::spawn(async move {
loop {
// Erst verdichten, dann aufräumen: Rohzeilen werden nie vor ihrem Rollup gelöscht, und beim Start
// liefe dieser Job sonst vor dem ersten Rollup.
if let Err(e) = state.store().rollup(&nexus_core::now_iso8601()) {
tracing::error!(fehler = %e, "Rollup vor der Aufbewahrung fehlgeschlagen");
}
let (requests, audit, samples) = {
let store = state.store();
(