diff --git a/src/addn/rateLimit.ts b/src/addn/rateLimit.ts index e58ca3a..bb53a89 100644 --- a/src/addn/rateLimit.ts +++ b/src/addn/rateLimit.ts @@ -14,7 +14,7 @@ const limit = async (fn: () => Promise, retries = 3): Promise => { if (retries > 0) { console.log(`retrying limited call:\n${fn.toString()}`) const delay = (ms: number) => new Promise((res) => setTimeout(res, ms)) - await delay(10000) + await delay(3000) return await limit(fn, retries - 1) } else { console.log(`error in limited call:\n${fn.toString()}\n${error}`)