mirror of
https://github.com/IrosTheBeggar/mStream.git
synced 2025-10-27 07:31:02 +00:00
fix scan manager
This commit is contained in:
parent
449ff4bd60
commit
aa45cf4bcf
@ -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);
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user