Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Squid stops indexing blocks w/o any error #273

Open
osipov-mit opened this issue Apr 30, 2024 · 1 comment
Open

Squid stops indexing blocks w/o any error #273

osipov-mit opened this issue Apr 30, 2024 · 1 comment

Comments

@osipov-mit
Copy link
Contributor

Describe the bug
Squid randomly stops indexing blocks with no errors. Only restart can help.

To Reproduce
Have no idea

Screenshots
image

Environment:

  • "@subsquid/substrate-processor": "^7.2.1"
  • docker: node:20-alpine
@tmcgroul
Copy link
Contributor

it is expected behaviour that processor subsribes for new blocks via chain_subscribeFinalizedHeads and our theory that this subscription can be buggy and hang out from time to time. i would suggest you to specify newHeadTimeout and see if it helps 🙂
https://github.com/subsquid/squid-sdk/blob/master/substrate/substrate-processor/src/processor.ts#L77

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants