Increase max attempts for image generation completion
Some checks failed
Build and Publish Docker Image / build_and_push (push) Failing after 20s
Some checks failed
Build and Publish Docker Image / build_and_push (push) Failing after 20s
This commit is contained in:
@@ -78,7 +78,7 @@ export async function execute(
|
||||
*/
|
||||
async function pollPredictionStatus(
|
||||
predictionId: string,
|
||||
maxAttempts = 5,
|
||||
maxAttempts = 20,
|
||||
interval = 2000
|
||||
): Promise<Prediction> {
|
||||
for (let attempt = 0; attempt < maxAttempts; attempt++) {
|
||||
|
||||
Reference in New Issue
Block a user