Reduce metric writes and preserve scheduler history

This commit is contained in:
Mikei386
2026-07-13 20:53:16 +02:00
parent ea97d7dbc9
commit 819055cbf0
12 changed files with 228 additions and 27 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ fi
mkdir -p "$CONFIG" "$ROOT_PREFIX/run/urbm" "$ROOT_PREFIX/var/lib/urbm"
if [ -d "$OLD_CONFIG" ]; then
for item in config.json runs.json backup-metrics.json secrets; do
for item in config.json runs.json backup-metrics.json backup-metrics.jsonl secrets; do
if [ -e "$OLD_CONFIG/$item" ] && [ ! -e "$CONFIG/$item" ]; then
cp -a "$OLD_CONFIG/$item" "$CONFIG/$item"
fi