|
|
@@ -69,7 +69,7 @@ func isNoteBookReady(task *models.Cloudbrain) bool { |
|
|
|
} |
|
|
|
if res.StatusCode == http.StatusOK { |
|
|
|
count := noteBookOKMap[task.ID] |
|
|
|
if count < successfulCount { |
|
|
|
if count < successfulCount-1 { |
|
|
|
noteBookOKMap[task.ID] = count + 1 |
|
|
|
return false |
|
|
|
} else { |
|
|
|