Skip to content

Commit

Permalink
increase w3s rate limit delay
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangruber committed Nov 2, 2024
1 parent 1122c67 commit e2c6046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/zinnia.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const updateAllSourceFiles = async ({
const msg = `Failed to download ${module} source. Retrying...`
console.error(msg)
if (String(err).includes('You are being rate limited')) {
const delaySeconds = 30 + (Math.random() * 60)
const delaySeconds = 60 + (Math.random() * 60)
// Don't DDOS the w3name services
console.error(
`Rate limited. Waiting ${delaySeconds} seconds...`
Expand Down

0 comments on commit e2c6046

Please sign in to comment.