Skip to content

Go back to running subgraphs with spawn_blocking #2357

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

Merged
merged 1 commit into from
Apr 7, 2021

Conversation

leoyvens
Copy link
Collaborator

@leoyvens leoyvens commented Apr 7, 2021

On a high load node such as the community nodes, some subgraphs were observed to hang, as if the run_subgraph future was never polled again. I was unable to reproduce this locally, it might be some obscure tokio issue caused by changes in #2354. So this tries to make things more like they were before the tokio 1.0 upgrade, with a large blocking thread pool and run_subgraph executed by spawn_blocking.

@leoyvens leoyvens requested a review from lutter April 7, 2021 21:43
@leoyvens leoyvens merged commit dc09f3c into master Apr 7, 2021
@leoyvens leoyvens deleted the leo/go-back-to-spawn-blocking branch April 7, 2021 22:37
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.

2 participants