Skip to content

Commit

Permalink
fix(build): bump
Browse files Browse the repository at this point in the history
  • Loading branch information
johnlindquist committed Jan 14, 2025
1 parent c193710 commit 483d9a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/create-assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async function uploadWithRetry(octokit, releaseData, filePath, name, maxRetries
throw new Error(`Failed to upload after ${maxRetries} attempts: ${error.message}`);
}

// Wait before retrying (exponential backoff)
// Wait before retrying (exponential backoff)...
const delay = Math.min(1000 * Math.pow(2, attempt), 10000);
console.log(`Waiting ${delay}ms before retry...`);
await new Promise((resolve) => setTimeout(resolve, delay));
Expand Down

0 comments on commit 483d9a5

Please sign in to comment.