Increase max attempts for image generation completion
Some checks failed
Build and Publish Docker Image / build_and_push (push) Failing after 20s

This commit is contained in:
Jack Hadrill
2024-12-10 22:01:59 +00:00
parent ab9d66af54
commit 5c29e93549

View File

@@ -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++) {