Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion internal/certificatetransparency/ct-watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,11 @@ func certHandler(entryChan chan models.Entry) {
var processed uint64

for {
entry := <-entryChan
entry, ok := <-entryChan
if !ok { // channel is closed, nothing else to receive, exit the loop
break
}

processed++

if processed%1000 == 0 {
Expand Down
Loading