For full documentation and setup guides, visit insightsplus.dev/docs.
What's New
- Configurable cleanup time — pick exactly when the daily retention cleanup runs, down to the minute. A new Cleanup time field in Settings → Data & Backups accepts any time from
00:00to23:59in container-local time. Previously cleanup was hardcoded to03:00. - New
RETENTION_TIMEenvironment variable — same time format (HH:MM), e.g.RETENTION_TIME=23:45. UI-saved values take precedence over env; env takes precedence over the default of03:00. - Live reschedule without restart — changing the cleanup time in Settings takes effect on the next scheduler tick. No container restart required.
- Cleanup time included in config export/import — the scheduling preference now travels with the rest of your retention settings when you export and restore configuration.
- Richer cleanup logs — every run is now logged, including quiet nights that deleted no rows. Log lines report which source (
ui,env, ordefault) the active time came from.
Bug Fixes
- Fixed the Data & Backups panel stranding users on a placeholder retention value of
60 dayswhen the config fetch was slow or failed (#92). The panel now shows a skeleton while loading, surfaces errors inline with a Retry button instead of silently swallowing them, and gates all editing until the real saved values are in view. - The Data & Backups panel now opens quickly on large databases. It previously could take minutes to appear as your log volume grew.
- Retention cleanup now logs every run to completion. Previously a scheduled cleanup that found nothing to delete produced no log output, making a healthy quiet night indistinguishable from a broken scheduler.
- Dropped the misleading "UTC" suffix from the cleanup schedule footer — the scheduler runs on container-local time, not UTC.
- Days-only retention saves no longer silently promote the env-sourced cleanup time into a UI override, which previously would have pinned the active time against future env changes.