diff --git a/main.js b/main.js index 6c6e12f..5b51444 100644 --- a/main.js +++ b/main.js @@ -145,8 +145,8 @@ async function fetch_tweets(cursor, retry = 0) { if (!response.ok) { if (response.status === 429) { - console.log("Rate limit reached. Waiting 1 minute") - await sleep(1000 * 60); + console.log("Rate limit reached. Waiting 5 minutes") + await sleep(1000 * 300); return fetch_tweets(cursor, retry + 1) } if (retry == 5) {