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

Fix dataloader for hanging fibers #4743

Merged
merged 1 commit into from
Dec 21, 2023
Merged

Conversation

rmosolgo
Copy link
Owner

I removed these invariants in #4625, but they might have helped catch the bug from #4739 (comment).

Also, this check for finished = ... wasn't quite right, because the fiber might yield, returning a value, and causing these fibers to be pushed away before they were really finished.

Finally, I think the manager fiber here was not really needed. It was added along the way to supporting the Async gem (and eventually became a Sync do ... end call), but it's not necessary here.

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.

None yet

1 participant