Skip to content

Commit d611039

Browse files
fix: implemented pr review comments
1 parent d731767 commit d611039

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

scripts/release/marketplaceRelease.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,11 @@ async function verifyReleasePublished(contentId, expectedVersion, pkgName) {
192192
return;
193193
}
194194

195-
const maxRetries = 10;
196-
const retryDelayMs = 30000; // Keeping it high as it can take some time for the release to be available after publish API call returns success
195+
const maxRetries = 5;
196+
const initialDelayMs = 60000;
197+
const retryDelayMs = 60000;
198+
199+
await new Promise(resolve => setTimeout(resolve, initialDelayMs));
197200

198201
for (let attempt = 1; attempt <= maxRetries; attempt++) {
199202
console.log(`Verification attempt ${attempt}/${maxRetries}: Checking for version ${expectedVersion}`);

0 commit comments

Comments
 (0)