From b381fe9fb1100e596668232f85408ab426f807a1 Mon Sep 17 00:00:00 2001 From: BrunoBFerreira Date: Wed, 18 Dec 2024 13:40:57 +0000 Subject: [PATCH] fix(themes): increase default retries in jobPollStatus --- packages/zcli-themes/src/lib/pollJobStatus.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/zcli-themes/src/lib/pollJobStatus.ts b/packages/zcli-themes/src/lib/pollJobStatus.ts index 31b0caba..d73351d7 100644 --- a/packages/zcli-themes/src/lib/pollJobStatus.ts +++ b/packages/zcli-themes/src/lib/pollJobStatus.ts @@ -5,7 +5,7 @@ import { request } from '@zendesk/zcli-core' import * as chalk from 'chalk' import validationErrorsToString from './validationErrorsToString' -export default async function pollJobStatus (themePath: string, jobId: string, interval = 1000, retries = 10): Promise { +export default async function pollJobStatus (themePath: string, jobId: string, interval = 1000, retries = 20): Promise { CliUx.ux.action.start('Polling job status') while (retries) {