8000 loaders: Add retry/throttling? · Issue #109 · shazow/whatsabi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
loaders: Add retry/throttling? #109
Open
@shazow

Description

@shazow

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueGood for newcomerssomedayGood idea but not planned yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0