mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-02-02 01:06:41 +08:00
Cherry-pick from master pr: #40815 Related to #40814 --------- Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
e02a3daff5
commit
97fc68bf08
@ -252,8 +252,8 @@ func (s *taskScheduler) enqueue(task Task) {
|
||||
taskID := task.GetTaskID()
|
||||
_, ok := s.runningTasks.Get(taskID)
|
||||
if !ok {
|
||||
s.pendingTasks.Push(task)
|
||||
task.SetQueueTime(time.Now())
|
||||
s.pendingTasks.Push(task)
|
||||
log.Ctx(s.ctx).Info("taskScheduler enqueue task", zap.Int64("taskID", taskID))
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user