Skip to content

Commit

Permalink
process result directly for any collisions
Browse files Browse the repository at this point in the history
  • Loading branch information
ahrav committed Jan 30, 2024
1 parent 0c56de5 commit c98bff1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pkg/engine/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -640,14 +640,13 @@ nextChunk:
e.reverificationTracking.increment()
}
chunk.reverifyWgDoneFn()
wgDetect.Add(1)
chunk.chunk.Verify = false // DO NOT VERIFY
e.detectableChunksChan <- detectableChunk{

e.processResult(ctx, detectableChunk{
chunk: chunk.chunk,
detector: detector,
decoder: chunk.decoder,
wgDoneFn: wgDetect.Done,
}
}, res)

// Empty the dupes and detectors slice.
chunkSecrets = chunkSecrets[:0]
Expand Down

0 comments on commit c98bff1

Please sign in to comment.