SubSense v1.2.1 Release Notes
New Features
Configurable Stats Refresh Interval
- Added STATS_REFRESH_INTERVAL environment variable to control how often stats are recalculated
- Default: 120000 (2 minutes)
- Can be increased to reduce CPU usage on large databases (e.g., 3600000 for 1 hour)
Complete Stats Disable Mode
Set STATS_REFRESH_INTERVAL=0 to completely disable the stats system
When _disabled:
- /stats and /stats/content show styled "disabled" pages
- All /api/stats/* and /api/cache/* endpoints return 403
- Navigation links to stats are automatically hidden
- Zero background CPU overhead
Full Changelog: v1.2.0...v1.2.1