修复:独立回收中断备份并限制 AI 日志增长

This commit is contained in:
2026-11-10 16:02:46 +08:00
parent dc5b9b76ec
commit cc8832c8e5
15 changed files with 584 additions and 39 deletions
+1
View File
@@ -372,6 +372,7 @@ def run(root, max_batches=30, grace=1800):
state=json.loads(state_path.read_text()) if state_path.exists() else {}
result={'checkedAt':time.time(),'releasesRemoved':0,'buildsRemoved':0,'rowsRemoved':0,'draftsRemoved':0,'bytesRemoved':0}
with br.lock(root,timeout=0):
result.update(br.clean_incomplete(root))
result['retiredBackupFoldersRemoved']=br.clean_retired(root)
result['privateVerifiersRemoved']=backup_verifier.clean_abandoned(root)
db=Database(root)