Skip to content

Conversation

@vizahat36
Copy link

@davidism Please Check

Closes #5881

This PR adds documentation clarifying the limitations and unsupported nature of using Flask async views together with gevent monkey patching.

While simple async views may appear to work for individual requests, concurrent requests can fail due to conflicts between asyncio’s event loop assumptions and gevent’s greenlet-based threading model. The documentation explains why this behavior occurs, highlights failure modes that typically only appear under concurrency, and outlines recommended alternatives and advanced override considerations.

This change is documentation-only and is based on the investigation and conclusions discussed in the linked issue.

@davidism davidism closed this Jan 10, 2026
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.

asgiref fails with gevent patching

2 participants