Kavita
Kavita copied to clipboard
Minimum Scan Interval
Add a new option to Library Settings which allows a user to opt-in. This setting ensures that automatic scans run once every X (daily for this example).
When an automatic scan triggers, the LastScanTime will be checked and if it is not <= Now - ScanInterval (24 hrs), then the scan will be aborted.
This allows users with large libraries or long scan times to manually scan at any time, but not automatically trigger a scan due to interval setup.
Manual scans will always go through.
Closing this as the new scan loop does this inherently with optimizations.