Closed idiom-bytes closed 4 months ago
Note: commit https://github.com/oceanprotocol/pdr-backend/commit/674ca138fdd6afd34905a536498eca26a02246b9 auto-linked above accidentally pointed to this issue, rather than the correct one #653
We have various retries added and improved this overall. I have closed this ticket and have updated the core issue.
Motivation
As an outcome of reviewing 514/#552, we emphasized that it would be valuable to add a retry around filling the data_lake.
Outline
Any inputs/triggers that cause gql_lake (and perhaps olhcv_lake too) to fetch/sync, should offer a clean "retry" around the outer-loop such that ["failures from subgraph", "failures from ccxt"] and should provide it in the fn interface.
This should improve the UX of cli_commands/agents, such that building the lake is more resillient to subgraph/api errors.
DoD:
last_checkpoint
.