Skip to content

Improve the retry logic to detect excessive retries #39

@felipet

Description

@felipet

If the chosen value for the block_range is too high for the RPC, the request seems to timeout, which triggers a retry in the indexer's logic. This is very common when using third party RPCs.

If paying for usage of the RPC, this behaviour consumes tokens meaningless. The retry logic should detect whether a request was sent multiple times without success to stop the indexer, and inform the user that the chosen block_range is perhaps inadequate for that RPC.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium priorityarea: backendStuff related to the backend service

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions