fix scan manager

This commit is contained in:
IrosTheBeggar 2021-01-08 16:16:38 -05:00
parent 449ff4bd60
commit aa45cf4bcf

View File

@ -97,7 +97,7 @@ exports.runAfterBoot = () => {
setTimeout(() => {
scanAll();
if (config.program.scanOptions.scanInterval > 0) {
setInterval(() => runScan(), config.program.scanOptions.scanInterval * 60 * 60 * 1000);
setInterval(() => scanAll(), config.program.scanOptions.scanInterval * 60 * 60 * 1000);
}
}, config.program.scanOptions.scanDelay * 1000);
}