Skip to content

Conversation

@hikingmetalpunk
Copy link

At 1 minute I watch the script bounce off the rate limit quite a bit, upping it to 5 minutes seems more reasonable

Bump up from 1 minute to 5
console.log("Rate limit reached. Waiting 1 minute")
await sleep(1000 * 60);
console.log("Rate limit reached. Waiting 5 minutes")
await sleep(1000 * 300);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend making the time calculation more explicit
1000 * 60 * 5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants