mirror of
https://relay.ngit.dev/npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr/ngit-grasp.git
synced 2026-10-05 15:08:24 +00:00
- Add archive_cleanup_interval_secs config option (default 24 hours) - Update all 4 configuration sources (config.rs, .env.example, docs, nix module) - Implement cleanup_archived_data() function in database/cleanup.rs - Query holding database for expired events - Delete archive tar.gz and metadata JSON files - Delete events from holding database - Add archive_path field to DeletionMetadata - Spawn background cleanup task in main.rs - Run cleanup on startup and periodically - Add comprehensive unit tests for cleanup functionality - Handle missing files gracefully - Log all cleanup operations at info level