Skip to content

Commit

Permalink
additional history scavenger heartbeat (#3186)
Browse files Browse the repository at this point in the history
add more history scavenger heartbeat
  • Loading branch information
yiminc authored and yycptt committed Aug 12, 2022
1 parent 5b05741 commit ba452a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions service/worker/scanner/history/scavenger.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ func (s *Scavenger) loadTasks(
return err
}

// Heartbeat to prevent heartbeat timeout.
s.heartbeat(ctx)

task := s.filterTask(item)
if task == nil {
continue
Expand Down

0 comments on commit ba452a2

Please sign in to comment.