0.12.0: FIFO job retention (job_keep), clear-finished button, vmm-ctl prune

This commit is contained in:
Claw committed 2026-11-17 21:38:56 +01:00
1 parent 5dc6bfb5a2
commit a1b4e884da
9 files changed
+83 -3

No files matched your search

+5
View File
@@ -269,4 +269,9 @@ joblog($log, sprintf('finished: rc=%d, state=%s', $rc, $stateAfter));
flock($lock, LOCK_UN);
fclose($lock);
fclose($log);
// FIFO retention: keep only the configured number of finished jobs
$conf = vmm_config();
vmm_job_prune((int)($conf['job_keep'] ?? 100));
exit(0);