Sync stops in some conditions
joojis opened this issue · 0 comments
joojis commented
A worker can fail during sync(). There are various reasons that make the worker fail, but, currently, it's retrying only for the specific HTTP connection errors.
codechain-indexer/src/worker/index.ts
Lines 42 to 59 in 0d95df0
We need to change it to retry for more reasons like:
- DB timeout
- async-lock timeout
- etc.