Skip to content

chore: allow forking control flow in route #1375

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
Jun 24, 2022
Merged

Conversation

pavelfeldman
Copy link
Member

No description provided.

# As with event handlers, each route handler is a potentially blocking context
# so it needs a fiber.
if self._is_sync:
g = greenlet(impl)
Copy link
Member

Choose a reason for hiding this comment

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

Ah…so this is the key bit here to prevent blocking where we were getting stuck before?

@rwoll rwoll merged commit 034511f into microsoft:main Jun 24, 2022
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