Skip to content

Commit

Permalink
update at Add()
Browse files Browse the repository at this point in the history
Signed-off-by: bigsheeper <[email protected]>
  • Loading branch information
bigsheeper committed Jan 14, 2025
1 parent 4ab5847 commit d4c4493
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/querycoordv2/task/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ func (scheduler *taskScheduler) Add(task Task) error {
}

scheduler.taskStats.Add(task.ID(), task)
scheduler.updateTaskMetrics()
log.Ctx(task.Context()).Info("task added", zap.String("task", task.String()))
task.RecordStartTs()
return nil
Expand Down

0 comments on commit d4c4493

Please sign in to comment.