diff --git a/rescan.go b/rescan.go index f5074ec..c19498e 100644 --- a/rescan.go +++ b/rescan.go @@ -200,7 +200,7 @@ func (m *RescanManager) jobHandler() { if !curBatch.empty() { job := curBatch.job() - m.sendJob <- curBatch.job() + m.sendJob <- job if m.msgs != nil { m.msgs <- (*RescanStartedMsg)(job) }