Browse Source

#1654

update
pull/1714/head
chenyifan01 3 years ago
parent
commit
bc2161bd84
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/modelarts.go

+ 1
- 1
routers/repo/modelarts.go View File

@@ -409,7 +409,7 @@ func NotebookManage(ctx *context.Context) {
}

task.Status = res.Status
if task.Status == string(models.ModelArtsStopped) {
if task.EndTime == 0 && models.IsModelArtsDebugJobTerminal(task.Status) {
task.EndTime = timeutil.TimeStampNow()
task.Duration = task.ComputeDuration()
}


Loading…
Cancel
Save