From ba452a2b9324966158b1fbc31c4a4044a2d43a14 Mon Sep 17 00:00:00 2001 From: Yimin Chen Date: Fri, 5 Aug 2022 09:24:18 -0700 Subject: [PATCH] additional history scavenger heartbeat (#3186) add more history scavenger heartbeat --- service/worker/scanner/history/scavenger.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/service/worker/scanner/history/scavenger.go b/service/worker/scanner/history/scavenger.go index 741f4f9d975..496f5861b4d 100644 --- a/service/worker/scanner/history/scavenger.go +++ b/service/worker/scanner/history/scavenger.go @@ -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