|
|
|
@@ -135,7 +135,7 @@ func GetCloudbrainModelConvertTask(ctx *context.APIContext) { |
|
|
|
} |
|
|
|
|
|
|
|
if result.JobStatus.State != string(models.JobWaiting) { |
|
|
|
models.ComputeAndSetDuration(job, result) |
|
|
|
models.ModelComputeAndSetDuration(job, result) |
|
|
|
err = models.UpdateModelConvert(job) |
|
|
|
if err != nil { |
|
|
|
log.Error("UpdateJob failed:", err) |
|
|
|
|