|
|
@@ -14,7 +14,7 @@ import ( |
|
|
|
var noteBookOKMap = make(map[int64]int, 20) |
|
|
|
|
|
|
|
//if a task notebook url can get two times, the notebook can browser. |
|
|
|
const successfulCount = 2 |
|
|
|
const successfulCount = 3 |
|
|
|
|
|
|
|
func SyncCloudBrainOneStatus(task *models.Cloudbrain) (*models.Cloudbrain, error) { |
|
|
|
jobResult, err := cloudbrain.GetJob(task.JobID) |
|
|
|