Browse Source

add sleeptime when delete cloudbrain task

tags/v1.22.8.2^2
liuzx 3 years ago
parent
commit
efad47bf8d
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      routers/repo/cloudbrain.go

+ 1
- 0
routers/repo/cloudbrain.go View File

@@ -1251,6 +1251,7 @@ func DeleteJobsByRepoID(repoID int64) {
log.Warn("Failed to get cloudBrain info", err)
return
}
time.Sleep(time.Second * 120)
DeleteJobs(cloudBrains)
}



Loading…
Cancel
Save