Skip to content
This repository was archived by the owner on Mar 18, 2024. It is now read-only.

Commit fd0a21e

Browse files
fix(deploy): ensure max retry count is set to 10 (#1263)
* fix(deploy): ensure max retry count is set to 10 deploy doesnt respect max retry count, it is always set at 2 retries, as it was incorrectly set. The fix sets a max default of 10 with a break if earlier if the maxRetry is lower fixes #1262 * Increase time between retries to 30 seconds
1 parent 302f5a1 commit fd0a21e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/sfpowerscripts-cli/src/impl/deploy/DeployImpl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ export default class DeployImpl {
241241
} else return false;
242242
}
243243
},
244-
{ retries: 1, minTimeout: 2000 }
244+
{ retries: 10, minTimeout: 30000 }
245245
);
246246

247247
if (packageInstallationResult.result === PackageInstallationStatus.Succeeded) {

0 commit comments

Comments
 (0)