loaders: Add retry/throttling? #109
Labels
enhancement
New feature or request
good first issue
Good for newcomers
someday
Good idea but not planned yet
Etherscan has fairly tight API limits these days (5 reqs per second), and tests often fail because of it.
Would be nice to have retries and throttling for the
fetch
, but also not excited about implementing/maintaining this yet again.But it would need to have a fairly small impact on the bundle size (currently ~14kb, so ideally not more than a couple kb?).
Perhaps use https://github.com/sindresorhus/ky?
Another option is to pull in a part of viem/ethers who might have respective helpers.
The text was updated successfully, but these errors were encountered: