fix(dbbackup): 备份新鲜度按最新的 daily 包算,手动或异地包不再掩盖停掉的定时任务

This commit is contained in:
Lemon-miaow committed 2026-09-27 16:40:50 +08:00
1 parent 46f99a7104
commit 840d339760
18 files changed
+262 -59

No files matched your search

+1
View File
@@ -1013,6 +1013,7 @@ async function handleSession(ctx: SessionContext): Promise<boolean> {
felis_version: "dev",
schema_version: 31,
dir: "/var/lib/felis/db-backups",
daily_at: at.toISOString(),
},
stale: false,
max_age_seconds: 26 * 3600,