subql icon indicating copy to clipboard operation
subql copied to clipboard

Better retry limit control for subql-ethereum

Open ianhe8x opened this issue 1 year ago • 0 comments

Prerequisites

  • [X] Are you running the latest version(s)?
  • [x] Did you check the debugging guide?
  • [x] Did you check the FAQs and Discussions?
  • [x] Are you reporting to the correct repository?
  • [x] Did you search for an existing issue or pull request?

Description

It's easily to reach max retries in subql-ethereum than subql-substrate, which makes it quite fragile.

I think the reason is we use BatchJsonrpcProvider, so maybe it is only one batch request failed, but we treat it as each individual sub requests failed, and easily it exceed the retry limit.

Details

These details can help to reproduce the environment the issue is occurring

Local Environment: [You can get this information from executing subql version.] Query Version: [What is the version of the query service?] Indexer Version: subql-ethereum-node v2.2.2 Network Details:

  • [Network]
  • [Block height, a block height where the issue is happening]
  • [Dictionary endpoint, if used]

ianhe8x avatar May 31 '23 00:05 ianhe8x