Only do initial scan if scanInterval==0 (fixes #856)
This commit is contained in:
@@ -59,6 +59,10 @@ func (s *Scanner) Serve() {
|
||||
initialScanCompleted = true
|
||||
}
|
||||
|
||||
if s.intv == 0 {
|
||||
return
|
||||
}
|
||||
|
||||
timer.Reset(s.intv)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user