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

chain head listener: Ensure periodic updates #2725

Merged
merged 1 commit into from
Aug 20, 2021

Conversation

leoyvens
Copy link
Collaborator

Chain head listener fallback, take 3. #2723 had a serious problem and this approach seems cleaner, since it doesn't touch the block stream. This also enables the parking_lot feature in tokio, so that we use fair locks in more places in an attempt to prevent deadlocks under load.

Resolves #2714.

@leoyvens leoyvens force-pushed the leo/chain-head-listener-fallback-take-3 branch from ba8f7ec to d843c60 Compare August 20, 2021 16:29
Copy link
Contributor

@evaporei evaporei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@tilacog tilacog self-requested a review August 20, 2021 17:53
@leoyvens leoyvens merged commit 4e89b2e into master Aug 20, 2021
@evaporei evaporei deleted the leo/chain-head-listener-fallback-take-3 branch August 23, 2021 13:26
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

Successfully merging this pull request may close these issues.

Subgraphs don't receive notifications of chain head updates so stop indexing
3 participants