Skip to content

Commit

Permalink
style: rename
Browse files Browse the repository at this point in the history
  • Loading branch information
GalvinGao committed May 30, 2022
1 parent 881799a commit 69b82b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/workers/calcwkr/calcwkr.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,14 @@ func (w *Worker) do(sourceCategories []string) {
log.Info().Int("count", w.count).Msg("worker batch finished")

go func() {
w.NotifySucceeded()
w.heartbeat()
}()
}()
}
}()
}

func (w *Worker) NotifySucceeded() {
func (w *Worker) heartbeat() {
if w.heartbeatURL == "" {
// we simply ignore if there's no heartbeat URL
return
Expand Down

0 comments on commit 69b82b9

Please sign in to comment.