chore: commit workspace updates
This commit is contained in:
@@ -110,7 +110,7 @@ func (w *taskWorkerCoordinator) processTimelineRender(task *model.Task, ctx cont
|
||||
task.ResultJSON = string(payload)
|
||||
completedAt := time.Now()
|
||||
task.CompletedAt = &completedAt
|
||||
if err := s.repo.SaveTaskCompletion(task, model.TaskStatusRunning, nil, nil, nil); err != nil {
|
||||
if err := s.repo.SaveTaskCompletion(task, model.TaskStatusRunning, nil); err != nil {
|
||||
return fmt.Errorf("写入渲染完成态失败: %w", err)
|
||||
}
|
||||
s.logInfo(task.UserID, task.ID, fmt.Sprintf("时间线渲染完成,时长 %.1fs", float64(durationMs)/1000), "")
|
||||
|
||||
Reference in New Issue
Block a user