We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e535e78 commit 65c4674Copy full SHA for 65c4674
1 file changed
scanner/scanner.go
@@ -188,6 +188,7 @@ func (s *Scanner) ExecuteWatch(ctx context.Context) error {
188
case event := <-watcher.Events:
189
if event.Op&(fsnotify.Remove) == fsnotify.Remove {
190
batchClean = true
191
+ batchT.Reset(batchInterval)
192
break
193
}
194
if event.Op&(fsnotify.Create|fsnotify.Write) == 0 {
0 commit comments