fix: one audit retention, scans at start, live deep analysis and a 6-hour upload sweep
Settle what the R10 scheduler and R11 log packages left open when they were integrated (owner review 2, phase 2). - Audit retention has one source of truth, the audit-cleanup schedule's age limit. AuditRetentionDays defaults to 0 (the audit log is kept forever, so an upgrade deletes nothing; the schedule is seeded off) and accepts 0-3650, what a schedule's age limit takes. Saving Settings › Logs › Keep audit sets the schedule's limit (on with a limit, off at 0) without a restart; CHRONOS_AUDIT_RETENTION_DAYS locks it and Reset goes back to it. - Both hosts scan right after start again, as their polling did: the server after the scheduler starts, the desktop once the archive was reopened and again when an unplugged one is back. Scheduler.RunSystemNowAsync runs the archive-scan schedule when it is enabled and has not run since the start, and skips while its scan is pending. - Desktop scans follow Settings › Analysis › After a scan at every run: a scan schedule without its own deep parameter asks the host (IScheduleHost.DeepAnalysisAfterScan), the archive-scan schedule no longer freezes the setting, and the editor offers deep only for analyses, so the setting's tooltip stays true. - The server's upload clean-up runs every 6 hours instead of every 30 minutes, to keep the job history readable; idle uploads still expire after UploadRetentionHours. - The Unraid template and docker-compose leave CHRONOS_LOG_LEVEL empty or commented out, and say that setting it locks both log levels, so the admin panel can change them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
bc786c12c4
commit
8d66be709c
21 files changed
+299
-53
No files matched your search
@@ -433,7 +433,7 @@
|
||||
<data name="Admin.Schedules.When.Tip" xml:space="preserve"><value>Quando parte; gli orari sono nel fuso orario del server ({0})</value></data>
|
||||
<data name="Admin.Settings.About" xml:space="preserve"><value>Informazioni</value></data>
|
||||
<data name="Admin.Settings.AuditRetentionDays" xml:space="preserve"><value>Conserva controllo (giorni)</value></data>
|
||||
<data name="Admin.Settings.AuditRetentionDays.Tip" xml:space="preserve"><value>Giorni di conservazione delle voci di controllo prima che la manutenzione le elimini; 0: per sempre</value></data>
|
||||
<data name="Admin.Settings.AuditRetentionDays.Tip" xml:space="preserve"><value>Limite di età della pianificazione Pulizia registro controllo: le voci più vecchie vengono eliminate; 0: conservate per sempre</value></data>
|
||||
<data name="Admin.Settings.ChunkSizeMib" xml:space="preserve"><value>Dimensione blocco (MiB)</value></data>
|
||||
<data name="Admin.Settings.ChunkSizeMib.Tip" xml:space="preserve"><value>Dimensione di ogni blocco di caricamento; blocchi piccoli riprendono prima su linee lente</value></data>
|
||||
<data name="Admin.Settings.ConsoleLogLevel" xml:space="preserve"><value>Livello console</value></data>
|
||||
|
||||
Reference in new issue
Block a user