Browse Source

提交代码

tags/v1.22.11.3^2
ychao_1983 3 years ago
parent
commit
58fcf3b40e
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      services/cloudbrain/cloudbrainTask/sync_status.go

+ 2
- 0
services/cloudbrain/cloudbrainTask/sync_status.go View File

@@ -2,6 +2,7 @@ package cloudbrainTask


import ( import (
"net/http" "net/http"
"strconv"


"code.gitea.io/gitea/models" "code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/cloudbrain" "code.gitea.io/gitea/modules/cloudbrain"
@@ -76,6 +77,7 @@ func isNoteBookReady(task *models.Cloudbrain) bool {
noteBookOKMap[task.ID] = count + 1 noteBookOKMap[task.ID] = count + 1
return false return false
} else { } else {
log.Info("notebook success count:"+strconv.Itoa(count)+",fail count:"+strconv.Itoa(count))
delete(noteBookOKMap, task.ID) delete(noteBookOKMap, task.ID)
delete(noteBookFailMap, task.ID) delete(noteBookFailMap, task.ID)
return true return true


Loading…
Cancel
Save