SCAN_ONLY_NEW_FILES
kerphi opened this issue · comments
SCAN_ONLY_NEW_FILES could be true by default. Then the scan will scan a first time the whole FOLDER_TO_SCAN content, and the next time (CRON_CLAMSCAN) it will only scan the new files found.
Thanks to this feature, the process will be lighter (less CPU usage) especially when there is lot and lot of files in FOLDER_TO_SCAN.